Support Qt 4.3 too
authorThiago Macieira <thiago@kde.org>
Fri, 20 Feb 2009 20:25:51 +0000 (20 21:25 +0100)
committerThiago Macieira <thiago@kde.org>
Fri, 20 Feb 2009 20:25:51 +0000 (20 21:25 +0100)
src/repository.cpp

index 9c2a9d5..cfe4db9 100644 (file)
@@ -40,7 +40,11 @@ public:
 
     inline void remove(Repository *repo)
     {
+#if QT_VERSION >= 0x040400
         removeOne(repo);
+#else
+        removeAll(repo);
+#endif
     }
 };
 static ProcessCache processCache;