summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-16 12:41:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-13 07:04:00 -0500
commitbf7954ebe7fa7c1f9c7ca77655f35500ffb057fb (patch)
treecbcd6a95e9a5bcc27adf44bc6b39eecc5ad0ae27 /mobile-widgets/qmlmanager.cpp
parenta96be9af689734dbe6d56a28f95a761b5c456e7d (diff)
downloadsubsurface-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 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index d9133a4ce..f44b6b12b 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -156,7 +156,6 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
m_pluggedInDeviceName(""),
m_showNonDiveComputers(false)
{
- LOG_STP("qmlmgr starting");
m_instance = this;
m_lastDevicePixelRatio = qApp->devicePixelRatio();
timer.start();
@@ -217,7 +216,6 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
appendTextToLog("No writeable location found, in-memory log only and no libdivecomputer log");
}
#endif
- LOG_STP("qmlmgr log started");
set_error_cb(&showErrorFromC);
appendTextToLog("Starting " + getUserAgent());
appendTextToLog(QStringLiteral("built with libdivecomputer v%1").arg(dc_version(NULL)));
@@ -231,13 +229,11 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
appendTextToLog(getAndroidHWInfo());
#endif
setStartPageText(tr("Starting..."));
- LOG_STP("qmlmgr start page");
// ensure that we start the BTDiscovery - this should be triggered by the export of the class
// to QML, but that doesn't seem to always work
BTDiscovery *btDiscovery = BTDiscovery::instance();
m_btEnabled = btDiscovery->btAvailable();
- LOG_STP("qmlmgr bt available");
connect(&btDiscovery->localBtDevice, &QBluetoothLocalDevice::hostModeStateChanged,
this, &QMLManager::btHostModeChange);
QMLPrefs::instance()->setShowPin(false);
@@ -246,16 +242,13 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
progress_callback = &progressCallback;
connect(locationProvider, SIGNAL(haveSourceChanged()), this, SLOT(hasLocationSourceChanged()));
setLocationServiceAvailable(locationProvider->hasLocationsSource());
- LOG_STP("qmlmgr gps started");
set_git_update_cb(&gitProgressCB);
- LOG_STP("qmlmgr git update");
// present dive site lists sorted by name
locationModel.sort(LocationInformationModel::NAME);
// make sure we know if the current cloud repo has been successfully synced
syncLoadFromCloud();
- LOG_STP("qmlmgr sync load cloud");
memset(&m_copyPasteDive, 0, sizeof(m_copyPasteDive));
memset(&what, 0, sizeof(what));
@@ -428,7 +421,6 @@ QString QMLManager::getCombinedLogs()
QTextStream in(&f);
copyString += in.readAll();
}
- LOG_STP_CLIPBOARD(&copyString);
copyString += "---------- finish ----------\n";