From e8245c554813c153bf1e86c0cf537b19a08a9ade Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Thu, 1 Jul 2021 18:06:23 +0200 Subject: Remove unnecessary code and comments. --- src/main.cpp | 1 - src/main_qmladaptor.cpp | 4 ---- 2 files changed, 5 deletions(-) (limited to 'src') 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("start_support_button"); -- cgit v1.2.3