OSDN Git Service

plasma: call setupQmlJsDebugger() on the object in homerun applet
authorIvailo Monev <xakepa10@gmail.com>
Sun, 29 Nov 2015 17:56:32 +0000 (19:56 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 29 Nov 2015 17:56:32 +0000 (19:56 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
plasma/desktop/applets/homerun/fullscreen/viewer/fullview.cpp
plasma/desktop/applets/homerun/fullscreen/viewer/main.cpp

index f6fe019..7101d44 100644 (file)
@@ -64,6 +64,7 @@ FullView::FullView()
     kdeclarative.initialize();
     //binds things like kconfig and icons
     kdeclarative.setupBindings();
+    kdeclarative.setupQmlJsDebugger();
 
     setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
index 79d696b..191d7ae 100644 (file)
@@ -75,7 +75,6 @@ int main(int argc, char *argv[])
 
     KUniqueApplication app;
     app.disableSessionManagement();
-    KDeclarative::setupQmlJsDebugger();
 
     // Create view
     KCmdLineArgs *args = KCmdLineArgs::parsedArgs();