ensure a minimum delay of 200ms for tooltips newly shown, respect that the default is an int not float
This commit is contained in:
parent
1de227bbba
commit
6018fc0c35
@ -159,7 +159,7 @@ void ToolTipManager::show(QGraphicsWidget *widget)
|
||||
// which can be too much for less powerful CPUs to keep up with
|
||||
d->showTimer->start(200);
|
||||
} else {
|
||||
d->showTimer->start(delay * 1000);
|
||||
d->showTimer->start(qMax(qreal(200), delay));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user