Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small clean ups

  • Loading branch information...
commit 5c2f3ebb9ab6ff5af62552322e7c6ff652bb534f 1 parent 6900d2a
Cornelius Hald authored
Showing with 1 addition and 18 deletions.
  1. +1 −13 main.cpp
  2. +0 −5 qml/CuteSoma/main.qml
View
14 main.cpp
@@ -7,24 +7,12 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
{
QScopedPointer<QApplication> app(createApplication(argc, argv));
+ ServerComm sc;
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setMainQmlFile(QLatin1String("qml/CuteSoma/main.qml"));
-
-
-
- ServerComm sc;
viewer.rootContext()->setContextProperty("serverComm", &sc);
-
viewer.showExpanded();
- //QObject *root = (QObject*)(viewer.rootObject());
-
-
-// QObject::connect(root, SIGNAL(play()), &sc, SLOT(play()));
-// QObject::connect(root, SIGNAL(pause()), &sc, SLOT(pause()));
-// QObject::connect(root, SIGNAL(loadChannel(QString)), &sc, SLOT(loadChannel(QString)));
- //QObject::connect(viewer.engine(), SIGNAL(quit()), &app, SLOT(quit()));
-
return app->exec();
}
View
5 qml/CuteSoma/main.qml
@@ -7,11 +7,6 @@ PageStackWindow
initialPage: mainPage
MainPage { id: mainPage }
-// signal play()
-// signal pause()
-// signal loadChannel(string channel)
-// signal updateChannelInfo(string channel)
-
About { id: aboutPage }
ToolBarLayout
Please sign in to comment.
Something went wrong with that request. Please try again.