diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 18:06:23 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 18:06:23 +0200 |
commit | e8245c554813c153bf1e86c0cf537b19a08a9ade (patch) | |
tree | 16f10dadd2ccd42d771b2ed6b614c3478e9d997e /src | |
parent | 4945818ec1b950081926431dbda093372824b364 (diff) | |
download | RWA.Support.DesktopApp-e8245c554813c153bf1e86c0cf537b19a08a9ade.tar.gz RWA.Support.DesktopApp-e8245c554813c153bf1e86c0cf537b19a08a9ade.tar.bz2 RWA.Support.DesktopApp-e8245c554813c153bf1e86c0cf537b19a08a9ade.zip |
Remove unnecessary code and comments.
Diffstat (limited to 'src')
-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"); |