From 872f26839f1d4af890753eda41b52c24c702607a Mon Sep 17 00:00:00 2001 From: Gurkengewuerz Date: Thu, 16 May 2019 18:56:53 +0200 Subject: [PATCH] forgot to reset clicks --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9c34e6d..54185ad 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -124,6 +124,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi QTimer::singleShot(QApplication::doubleClickInterval(), [this] { if(wasDoubleCLick) { wasDoubleCLick = false; + trayIconClicks = 0; return; } if(trayIconClicks == 1) {