aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/repository.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 9c2a9d5..cfe4db9 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -40,7 +40,11 @@ public:
inline void remove(Repository *repo)
{
+#if QT_VERSION >= 0x040400
removeOne(repo);
+#else
+ removeAll(repo);
+#endif
}
};
static ProcessCache processCache;