projects
/
chessclock
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added game pausing when the application is minimized
[chessclock]
/
chessclockwindow.h
diff --git
a/chessclockwindow.h
b/chessclockwindow.h
index
d17d979
..
4fe01c5
100644
(file)
--- a/
chessclockwindow.h
+++ b/
chessclockwindow.h
@@
-49,6
+49,8
@@
public slots:
protected:
void initTimeControls();
+ /*! Pauses the game if the application main window is not active e.g. the app is minimized*/
+ bool eventFilter(QObject *obj, QEvent *event);
protected:
ClocksWidget* clocks_;