|
|
|
|
@ -1001,8 +1001,6 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
|
|
|
|
DEBUG_DEBUG(DEBUG_CATEGORY_GENERAL, "MainWindow: closeEvent — hiding to tray"); |
|
|
|
|
saveWindowGeometry(); |
|
|
|
|
hide(); |
|
|
|
|
m_trayIcon->showMessage("vibechat", QCoreApplication::translate("ChatGui", "Application minimized to tray."), |
|
|
|
|
QSystemTrayIcon::Information, 2000); |
|
|
|
|
event->ignore(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|