Browse Source

Merge pull request #2672 from DoumanAsh/abort_search_on_exit

Aborting search engine process during closure. Close #2671
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
832272bf3a
  1. 3
      src/gui/mainwindow.cpp

3
src/gui/mainwindow.cpp

@ -929,6 +929,9 @@ void MainWindow::closeEvent(QCloseEvent *e) @@ -929,6 +929,9 @@ void MainWindow::closeEvent(QCloseEvent *e)
}
}
//abort search if any
if (searchEngine) delete searchEngine;
hide();
// Hide tray icon
if (systrayIcon)

Loading…
Cancel
Save