diff options
author | Simon Rettberg | 2017-11-16 16:09:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-16 16:09:41 +0100 |
commit | 15ef91a48d71e40b4d1d2aa83838f0e13c265f87 (patch) | |
tree | 6c2ca37f49e554d7b8533547a0757259d466493c /src/client/toolbar/toolbar.h | |
parent | Fix SSL on Qt5 (diff) | |
download | pvs2-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.h | 2 |
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(); |