summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-10-24 18:42:40 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-10-24 18:43:25 (GMT)
commit22501a3af25840b90898c3b4c075581947646476 (patch)
tree43a366eb4f00f930fea235481eeff343a3b0c582 /Swift/QtUI
parentd4789216fc8894a5ce3ed359851422acecfe6bdb (diff)
downloadswift-22501a3af25840b90898c3b4c075581947646476.zip
swift-22501a3af25840b90898c3b4c075581947646476.tar.bz2
Don't register ourself as default URI handler.
We need to ask the user first.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtURIHandler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Swift/QtUI/QtURIHandler.cpp b/Swift/QtUI/QtURIHandler.cpp
index 43f3ed1..197f001 100644
--- a/Swift/QtUI/QtURIHandler.cpp
+++ b/Swift/QtUI/QtURIHandler.cpp
@@ -11,17 +11,11 @@
#include <QUrl>
#include "QtSwiftUtil.h"
-#ifdef Q_WS_MAC
-#include <SwifTools/URIHandler/MacOSXURIHandlerHelpers.h>
-#endif
using namespace Swift;
QtURIHandler::QtURIHandler() {
qApp->installEventFilter(this);
-#ifdef Q_WS_MAC
- registerAppAsDefaultXMPPURIHandler();
-#endif
}
bool QtURIHandler::eventFilter(QObject*, QEvent* event) {