summaryrefslogtreecommitdiffhomepage
path: root/gui/ui.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-20 18:04:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-20 18:17:38 +0100
commit057fe1752477bdaafd2c9ec15f88b750083aff38 (patch)
treebf609051e350e5683232088d93574be7c6e3d35d /gui/ui.h
parentc88d7897eec259ea7c649467e01590a08faa2dcb (diff)
gui: don't update main window if we're minimized
Shaves off 12% runtime in minimized case.
Diffstat (limited to 'gui/ui.h')
-rw-r--r--gui/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/ui.h b/gui/ui.h
index deeb116d..6dbcf962 100644
--- a/gui/ui.h
+++ b/gui/ui.h
@@ -106,10 +106,13 @@ private slots:
void startTracker();
void stopTracker();
void reload_options();
+ void mark_minimized(bool is_minimized);
signals:
void emit_start_tracker();
void emit_stop_tracker();
void emit_toggle_tracker();
+
+ void emit_minimized(bool);
public:
MainWindow();
~MainWindow();