summaryrefslogtreecommitdiff
path: root/src/sync/syncmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync/syncmanager.cpp')
-rw-r--r--src/sync/syncmanager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sync/syncmanager.cpp b/src/sync/syncmanager.cpp
index 67b23054..78cc4b4e 100644
--- a/src/sync/syncmanager.cpp
+++ b/src/sync/syncmanager.cpp
@@ -31,6 +31,10 @@
// Auto Includes
#include "rekonq.h"
+// Config Includes
+#include "config-qca2.h"
+#include "config-qtoauth.h"
+
// Local Includes
#include "application.h"
#include "bookmarkmanager.h"
@@ -39,7 +43,10 @@
#include "syncassistant.h"
#include "ftpsynchandler.h"
#include "googlesynchandler.h"
+
+#if (defined HAVE_QCA2 && defined HAVE_QTOAUTH)
#include "operasynchandler.h"
+#endif
// KDE Includes
#include <klocalizedstring.h>
@@ -84,9 +91,11 @@ void SyncManager::loadSettings()
case 1:
_syncImplementation = new GoogleSyncHandler(this);
break;
+#if (defined HAVE_QCA2 && defined HAVE_QTOAUTH)
case 2:
_syncImplementation = new OperaSyncHandler(this);
break;
+#endif
default:
kDebug() << "/dev/null";
return;