UI: Fix warnings on exit, part 2.

This commit is contained in:
Nodir Temirkhodjaev 2019-10-09 13:59:08 +05:00
parent ffe4d7aaef
commit 686f095823

View File

@ -88,11 +88,12 @@ FortManager::FortManager(FortSettings *fortSettings,
setupTranslationManager();
setupTrayIcon();
connect(qApp, &QCoreApplication::aboutToQuit, this, &FortManager::closeUi);
}
FortManager::~FortManager()
{
closeUi();
removeHotKeys();
closeDriver();