From bf7954ebe7fa7c1f9c7ca77655f35500ffb057fb Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 16 Sep 2018 12:41:35 +0200 Subject: 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 --- subsurface-helper.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'subsurface-helper.cpp') 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 -- cgit v1.2.3-70-g09d2