temporary raise timer double to hide timer

--it is also bound between values 1800 and 3000
pull/1/head
Michail Vourlakos 8 years ago
parent a00c584f37
commit 1618a7bd5d

@ -271,7 +271,7 @@ void VisibilityManagerPrivate::raiseDockTemporarily()
if (isHidden)
emit q->mustBeShown();
QTimer::singleShot(1800, this, [&]() {
QTimer::singleShot(qBound(1800, 2 * timerHide.interval(), 3000), this, [&]() {
raiseTemporarily = false;
hideNow = true;
updateHiddenState();

Loading…
Cancel
Save