2010-01-22 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbqt/hbqt_hbqplaintextedit.cpp
    ! Fix to handle unused variable : "txt".
This commit is contained in:
Pritpal Bedi
2010-01-22 16:25:09 +00:00
parent 25c64d2dbf
commit d6f1db5b95
2 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-22 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbqt/hbqt_hbqplaintextedit.cpp
! Fix to handle unused variable : "txt".
2010-01-22 07:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ contrib/hbqt/hbqt_hbqplaintextedit.cpp
+ Added missing source file.

View File

@@ -569,6 +569,8 @@ void HBQPlainTextEdit::caseLower()
void HBQPlainTextEdit::replaceSelection( const QString & txt )
{
HB_SYMBOL_UNUSED( txt );
QTextCursor cursor( textCursor() );
QString selTxt( cursor.selectedText() );
if( selTxt.isEmpty() )