mirror of
https://github.com/tnodir/fort
synced 2024-11-15 14:35:10 +00:00
UI: Fix warnings on exit, part 2.
This commit is contained in:
parent
ffe4d7aaef
commit
686f095823
@ -88,11 +88,12 @@ FortManager::FortManager(FortSettings *fortSettings,
|
|||||||
|
|
||||||
setupTranslationManager();
|
setupTranslationManager();
|
||||||
setupTrayIcon();
|
setupTrayIcon();
|
||||||
|
|
||||||
|
connect(qApp, &QCoreApplication::aboutToQuit, this, &FortManager::closeUi);
|
||||||
}
|
}
|
||||||
|
|
||||||
FortManager::~FortManager()
|
FortManager::~FortManager()
|
||||||
{
|
{
|
||||||
closeUi();
|
|
||||||
removeHotKeys();
|
removeHotKeys();
|
||||||
|
|
||||||
closeDriver();
|
closeDriver();
|
||||||
|
Loading…
Reference in New Issue
Block a user