fix: ensure timer doesn't run if the QuickSwitcherPopup is dead (#5687)
This commit is contained in:
@@ -141,7 +141,7 @@ void QuickSwitcherPopup::updateSuggestions(const QString &text)
|
||||
* Timeout interval 0 means the call will be delayed until all window events
|
||||
* have been processed (cf. https://doc.qt.io/qt-5/qtimer.html#interval-prop).
|
||||
*/
|
||||
QTimer::singleShot(0, [this] {
|
||||
QTimer::singleShot(0, this, [this] {
|
||||
this->adjustSize();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user