summaryrefslogtreecommitdiffstats
path: root/src/client/toolbar/toolbar.h
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-16 16:09:41 +0100
committerSimon Rettberg2017-11-16 16:09:41 +0100
commit15ef91a48d71e40b4d1d2aa83838f0e13c265f87 (patch)
tree6c2ca37f49e554d7b8533547a0757259d466493c /src/client/toolbar/toolbar.h
parentFix SSL on Qt5 (diff)
downloadpvs2-15ef91a48d71e40b4d1d2aa83838f0e13c265f87.tar.gz
pvs2-15ef91a48d71e40b4d1d2aa83838f0e13c265f87.tar.xz
pvs2-15ef91a48d71e40b4d1d2aa83838f0e13c265f87.zip
[client] Use polling when checking whether to hide the bar
The QWidget::leaveEvent() event seems unreliable unter Qt5 when trying to detect if the mouse is still over the bar.
Diffstat (limited to 'src/client/toolbar/toolbar.h')
-rw-r--r--src/client/toolbar/toolbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/toolbar/toolbar.h b/src/client/toolbar/toolbar.h
index 347871f..a7cd5ad 100644
--- a/src/client/toolbar/toolbar.h
+++ b/src/client/toolbar/toolbar.h
@@ -47,12 +47,12 @@ private:
QAction *_acnQuit;
QTimer _showTimer;
QTimer _hideTimer;
+ int _hideCountdown;
QTimer _blinkTimer;
VncWindow *_vnc;
bool _isManagerPc;
const QPixmap _cam32, _beWatchedEye;
- void leaveEvent(QEvent* e);
void enterEvent(QEvent* e);
QList<Room> myRooms();
bool isManagerPc();