From 5f728263e60426d575453d08f8df2de8a2a5a9ff Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 22 Oct 2009 19:37:13 +0000 Subject: [PATCH] 2009-10-22 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp ! Quantrined "error C2065: 'str' : undeclared identifier". --- harbour/ChangeLog | 6 +++++- harbour/contrib/hbqt/hbqt_slots.cpp | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f1cd7d7388..a4c9cc3f40 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-22 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + * contrib/hbqt/hbqt_slots.cpp + ! Quantrined "error C2065: 'str' : undeclared identifier". + 2009-10-22 20:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/Makefile * contrib/hbqt/qtgui/Makefile @@ -31,7 +35,7 @@ in 10 places, this will have to be optimized. ; TOFIX: static mode. - ; TOFIX: I'm getting a compile error, so could check the whole build run yet: + ; FIXED: I'm getting a compile error, so could check the whole build run yet: --- hbqt_slots.cpp ../../../hbqt_slots.cpp(1787) : error C2065: 'str' : undeclared identifier diff --git a/harbour/contrib/hbqt/hbqt_slots.cpp b/harbour/contrib/hbqt/hbqt_slots.cpp index 2b51a2ebf3..97c1ecaf20 100644 --- a/harbour/contrib/hbqt/hbqt_slots.cpp +++ b/harbour/contrib/hbqt/hbqt_slots.cpp @@ -1784,8 +1784,9 @@ Events::~Events() bool Events::eventFilter( QObject * object, QEvent * event ) { QEvent::Type eventtype = event->type(); +#if defined(__debug__) hb_snprintf( str, sizeof( str ), "0 Events::eventFilter = %i", ( int ) eventtype ); OutputDebugString( str ); - +#endif if( ( int ) eventtype == 0 ) { //hb_snprintf( str, sizeof( str ), "x Events::eventFilter = 0" ); OutputDebugString( str );