Aborting search engine process during closure. Close #2671

This commit is contained in:
DoumanAsh 2015-03-07 23:54:31 +03:00
parent 6e4fbcf017
commit 62776df9e1

View file

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