Remove the minimized-to-tray notification
This commit is contained in:
1 parent
d7f30d7bb1
commit
ec545a8665
1 file changed
-2
@@ -1001,8 +1001,6 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
|||||||
DEBUG_DEBUG(DEBUG_CATEGORY_GENERAL, "MainWindow: closeEvent — hiding to tray");
|
DEBUG_DEBUG(DEBUG_CATEGORY_GENERAL, "MainWindow: closeEvent — hiding to tray");
|
||||||
saveWindowGeometry();
|
saveWindowGeometry();
|
||||||
hide();
|
hide();
|
||||||
m_trayIcon->showMessage("vibechat", QCoreApplication::translate("ChatGui", "Application minimized to tray."),
|
|
||||||
QSystemTrayIcon::Information, 2000);
|
|
||||||
event->ignore();
|
event->ignore();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user