diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-18 12:46:29 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-01-18 17:35:35 +0200 |
commit | 84b96ac2ae5aa60fd7ab03b0b0f8e0606af23e43 (patch) | |
tree | 946d5ad8be56b5886b668ac02d1e37be487d917f /mobile-widgets/qmlmanager.cpp | |
parent | e592dfe17c5a1a6d2b714752f5b27e9d531de9bb (diff) | |
download | subsurface-84b96ac2ae5aa60fd7ab03b0b0f8e0606af23e43.tar.gz |
Mobile: don't show timer twice in log-message
This was probably an oversight - the timer was only shown for very
specific messages. This was change to show the timer for all messages.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 37857b9fc..e5e9b7892 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -160,8 +160,6 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), void QMLManager::applicationStateChanged(Qt::ApplicationState state) { - if (!timer.isValid()) - timer.start(); QString stateText; switch (state) { case Qt::ApplicationActive: stateText = "active"; break; @@ -182,7 +180,7 @@ void QMLManager::applicationStateChanged(Qt::ApplicationState state) // make sure the user sees that we are saving data if they come back // while this is running saveChangesCloud(false); - appendTextToLog(QString::number(timer.elapsed() / 1000.0,'f', 3) + ": done saving to git local / remote"); + appendTextToLog("done saving to git local / remote"); } } |