summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-08-06 10:43:06 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-08-06 10:43:06 +0200
commit957bdffd0c7ae40f10bb1578a78089dc08d38229 (patch)
treed98dae9e586d32dbe070411db3d80c1a3aae4cbf
parent8b82e3c084b589c1d84d8dd269687d8ec7b2fa06 (diff)
removed inconsistency
-rw-r--r--mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 29611828..3f2bdda6 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -228,8 +228,7 @@ bool MainWindow::checkConfig() {
initTrayIcon();
if (freshStart && startMinimized) {
// since we are still in constructor, can't directly hide
- QTimer::singleShot(10*autoclearSeconds, this, SLOT(hide()));
- QTimer::singleShot(10*autoclearPanelSeconds, this, SLOT(hide()));
+ QTimer::singleShot(10, this, SLOT(hide()));
}
} else if (!useTrayIcon && tray != NULL) {
destroyTrayIcon();