[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete/ui
From:       Martijn Klingens <klingens () kde ! org>
Date:       2003-07-22 17:38:31
[Download RAW message or body]

CVS commit by mklingens: 

Use KDE_MAKE_VERSION to make the version check readable again. Thanks Dirk.

Also simplified the QT_VERSION check, since we don't support Qt 3.0.x anymore.


  M +2 -2      configmodule.cpp   1.24


--- kdenonbeta/kopete/libkopete/ui/configmodule.cpp  #1.23:1.24
@@ -27,5 +27,5 @@
 #include <kiconloader.h>
 
-#if (QT_VERSION >= 0x030005 && QT_VERSION < 0x030102) && KDE_IS_VERSION < 0x03015B
+#if QT_VERSION < 0x030102 && KDE_VERSION < KDE_MAKE_VERSION( 3, 1, 90 )
 #include <kapplication.h>
 #endif
@@ -54,5 +54,5 @@ ConfigModule::ConfigModule(const QString
 ConfigModule::~ConfigModule()
 {
-#if (QT_VERSION >= 0x030005 && QT_VERSION < 0x030102) && KDE_VERSION < 0x03015B
+#if QT_VERSION < 0x030102 && KDE_VERSION < KDE_MAKE_VERSION( 3, 1, 90 )
         // Due to a bug in Qt 3.1 and 3.1.1 no close events are sent to hidden
         // widgets, causing the KJanusWidget to crash. This workaround is


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic