summaryrefslogtreecommitdiffabout
path: root/libkdepim
Side-by-side diff
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 8851097..40d8e47 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -783,3 +783,7 @@ void KSyncManager::syncKDE()
{
- QString command = qApp->applicationDirPath () + "/kdecaldump";
+#ifdef DESKTOP_VERSION
+ QString command = qApp->applicationDirPath () + "/kdecaldump";
+#else
+ QString command = "kdecaldump";
+#endif
if ( ! QFile::exists ( command ) )