From 0a7ff9ef71783501b68f30ec0677ba05d63f384c Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sat, 4 Jul 2020 16:44:58 +0200 Subject: [PATCH] Initialize timer pointer --- AdaptiveBrightness/main_window.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdaptiveBrightness/main_window.hpp b/AdaptiveBrightness/main_window.hpp index 8d2ea9f..131f3bd 100644 --- a/AdaptiveBrightness/main_window.hpp +++ b/AdaptiveBrightness/main_window.hpp @@ -32,5 +32,5 @@ class MainWindow : public QMainWindow { QMenu* m_trayIconMenu = nullptr; QSystemTrayIcon* m_trayIcon = nullptr; - QTimer* m_timer; + QTimer* m_timer = nullptr; };