From d6f1db5b9568a686120bb4b5c2d7633f1eae99cf Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Fri, 22 Jan 2010 16:25:09 +0000 Subject: [PATCH] 2010-01-22 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fix to handle unused variable : "txt". --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9af3937ad8..5f193f2fb5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -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. diff --git a/harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp b/harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp index de2b25b749..b59988ed73 100644 --- a/harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp +++ b/harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp @@ -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() )