mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:45:44 +00:00
UI: TrayIcon: Don't capture local var by ref
This commit is contained in:
parent
82d1c9170a
commit
00604bae82
@ -722,7 +722,7 @@ void TrayIcon::onTrayActivatedByTrigger()
|
||||
if (clickAction(DoubleClick)) {
|
||||
m_trayTriggered = true;
|
||||
QTimer::singleShot(QApplication::doubleClickInterval(), this,
|
||||
[&] { onTrayActivatedByClick(clickType, /*checkTriggered=*/true); });
|
||||
[=] { onTrayActivatedByClick(clickType, /*checkTriggered=*/true); });
|
||||
} else {
|
||||
onTrayActivatedByClick(clickType);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user