diff options
author | jan Iversen <jani@apache.org> | 2018-09-16 12:41:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-13 07:04:00 -0500 |
commit | bf7954ebe7fa7c1f9c7ca77655f35500ffb057fb (patch) | |
tree | cbcd6a95e9a5bcc27adf44bc6b39eecc5ad0ae27 /subsurface-helper.cpp | |
parent | a96be9af689734dbe6d56a28f95a761b5c456e7d (diff) | |
download | subsurface-bf7954ebe7fa7c1f9c7ca77655f35500ffb057fb.tar.gz |
core: remove LOG_STP from mobile
LOG_STP is on longer providing the data needed, since a lot of the startup
is indirectly in QML, furthermore using the xcode project and running profiler
gives much more detailed information
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index 2faedc30a..d1c24c4cd 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -79,7 +79,6 @@ void run_ui() int availableScreenWidth = appScreen->availableSize().width(); QQmlApplicationEngine engine; register_qml_types(&engine); - LOG_STP("run_ui qml engine started"); KirigamiPlugin::getInstance().registerTypes(); #if defined(__APPLE__) && !defined(Q_OS_IOS) // when running the QML UI on a Mac the deployment of the QML Components seems @@ -106,7 +105,6 @@ void run_ui() ctxt->setContextProperty("gpsModel", gpsSortModel); ctxt->setContextProperty("vendorList", vendorList); set_non_bt_addresses(); - LOG_STP("run_ui set_non_bt_adresses"); ctxt->setContextProperty("connectionListModel", &connectionListModel); ctxt->setContextProperty("logModel", MessageHandlerModel::self()); @@ -125,7 +123,6 @@ void run_ui() engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml"))); #endif qDebug() << "loaded main.qml"; - LOG_STP("run_ui qml loaded"); qqWindowObject = engine.rootObjects().value(0); if (!qqWindowObject) { fprintf(stderr, "can't create window object\n"); @@ -140,7 +137,6 @@ void run_ui() qDebug() << "qml_window reports width as" << qmlWW << "associated screen width" << qmlSW << "Qt screen reports width as" << availableScreenWidth; QObject::connect(qml_window, &QQuickWindow::screenChanged, QMLManager::instance(), &QMLManager::screenChanged); QMLManager *manager = QMLManager::instance(); - LOG_STP("run_ui qmlmanager instance started"); manager->setDevicePixelRatio(qml_window->devicePixelRatio(), qml_window->screen()); manager->qmlWindow = qqWindowObject; @@ -160,7 +156,6 @@ void run_ui() qml_window->setWidth(width); #endif // not Q_OS_ANDROID and not Q_OS_IOS qml_window->show(); - LOG_STP("run_ui running exec"); #else MainWindow::instance()->show(); #endif // SUBSURFACE_MOBILE |