diff options
-rw-r--r-- | src/main.cpp | 1 | ||||
-rw-r--r-- | src/main_qmladaptor.cpp | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index f907e6a..7bb67de 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -83,7 +83,6 @@ int main(int argc, char *argv[]) { // Make mainqmladaptor available to QML engine.rootContext()->setContextProperty("mainqmladaptor", main_gui.data()); - qDebug() << "'mainqmladaptor' is now available in QML context."; engine.load(QUrl(QStringLiteral("qrc:/src/main.qml"))); if (engine.rootObjects().isEmpty()) diff --git a/src/main_qmladaptor.cpp b/src/main_qmladaptor.cpp index 2416266..8a54eb3 100644 --- a/src/main_qmladaptor.cpp +++ b/src/main_qmladaptor.cpp @@ -31,10 +31,6 @@ MainQMLAdaptor::MainQMLAdaptor(QObject *parent, QQmlApplicationEngine* engine) : _engine = engine; } -//void MainQMLAdaptor::setSession(Session session) { -// _session = session; -//} - bool MainQMLAdaptor::setConnectButtonEnabled(bool enabled) { // Find item via 'objectName' QQuickItem *item = _engine->rootObjects().at(0)->findChild<QQuickItem*>("start_support_button"); |