Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2015-09-28 23:51:16 +0300
committerMarkus Goetz <markus@woboq.com>2015-09-29 00:00:19 +0300
commit641dece89a7080d0c1db2b28fe53145a6e8b9305 (patch)
tree5dc15472c1c033028583474d9a50cfe8c06b5d0a /src/gui/application.h
parent2c9d41842367e0379a21c714ae165ae1140cdf8f (diff)
Linux: Don't show settings dialog always when launched twice
For #3273 #3771 #3485 See also d503221b2e22109eb9f2a3d875dcd247dd8b4cf9
Diffstat (limited to 'src/gui/application.h')
-rw-r--r--src/gui/application.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/application.h b/src/gui/application.h
index 7a246e6c5..538120918 100644
--- a/src/gui/application.h
+++ b/src/gui/application.h
@@ -19,6 +19,7 @@
#include <QPointer>
#include <QQueue>
#include <QTimer>
+#include <QElapsedTimer>
#include "qtsingleapplication.h"
@@ -97,6 +98,8 @@ private:
bool _helpOnly;
bool _versionOnly;
+ QElapsedTimer _startedAt;
+
// options from command line:
bool _showLogWindow;
QString _logFile;