Browse Source

Remove redundant UI cleanups

Just exiting the application will handle all of them automatically.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
1fa940876f
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 5
      src/gui/mainwindow.cpp

5
src/gui/mainwindow.cpp

@ -1218,15 +1218,12 @@ void MainWindow::closeEvent(QCloseEvent *e) @@ -1218,15 +1218,12 @@ void MainWindow::closeEvent(QCloseEvent *e)
}
}
// abort search if any
delete m_searchWidget;
hide();
#ifndef Q_OS_MACOS
// Hide tray icon
if (m_systrayIcon)
m_systrayIcon->hide();
#endif
// Accept exit
e->accept();
qApp->exit();

Loading…
Cancel
Save