diff options
Diffstat (limited to 'src/dialogs/qmessagebox.h')
-rw-r--r-- | src/dialogs/qmessagebox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/qmessagebox.h b/src/dialogs/qmessagebox.h index 2c1713239..65a7b6244 100644 --- a/src/dialogs/qmessagebox.h +++ b/src/dialogs/qmessagebox.h @@ -204,11 +204,11 @@ private: // Disabled copy constructor and operator= * #include <qmessagebox.h> * int main( int argc, char**argv ) * { -* QT_RETQUIRE_VERSION( argc, argv, "3.0.5" ) +* QT_REQUIRE_VERSION( argc, argv, "3.0.5" ) * ... * } */ -#define QT_RETQUIRE_VERSION( argc, argv, str ) { TQString s=TQString::fromLatin1(str);\ +#define QT_REQUIRE_VERSION( argc, argv, str ) { TQString s=TQString::fromLatin1(str);\ TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\ (sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+\ (s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \ |