summaryrefslogtreecommitdiff
path: root/daemon/jskitobjects.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-03 00:00:42 +0100
committerJavier <dev.git@javispedro.com>2014-12-03 00:06:13 +0100
commit843e8c2550f69de3b9dfc3ec5f13d2c3a5710896 (patch)
tree80f8edf321fed7d1790b609c2dab51c9d22fdd8b /daemon/jskitobjects.cpp
parentc35a3a9bea759cadf1e975a2a62e50789cad096c (diff)
implement more parts of the new D-Bus API
Diffstat (limited to 'daemon/jskitobjects.cpp')
-rw-r--r--daemon/jskitobjects.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/daemon/jskitobjects.cpp b/daemon/jskitobjects.cpp
index 9e4cfde..a0bc0ba 100644
--- a/daemon/jskitobjects.cpp
+++ b/daemon/jskitobjects.cpp
@@ -57,12 +57,7 @@ void JSKitPebble::showSimpleNotificationOnPebble(const QString &title, const QSt
void JSKitPebble::openURL(const QUrl &url)
{
logger()->debug() << "opening url" << url.toString();
- emit _mgr->appOpenUrl(url.toString());
-#if 0 /* Until we figure out how to do this. Maybe signal the daemon? */
- if (!QDesktopServices::openUrl(url)) {
- logger()->warn() << "Failed to open URL:" << url;
- }
-#endif
+ emit _mgr->appOpenUrl(url);
}
QJSValue JSKitPebble::createXMLHttpRequest()