hide on close

This commit is contained in:
dsc
2022-03-16 20:32:00 +02:00
parent 3b3ec89306
commit ccd0e8e64b
7 changed files with 46 additions and 3 deletions
+5
View File
@@ -184,6 +184,11 @@ AppContext::AppContext(QCommandLineParser *cmdargs) {
// libwallet connects
connect(this->walletManager, &WalletManager::walletOpened, this, &AppContext::onWalletOpened);
// hideOnClose
auto hideOnClose = config()->get(Config::hideOnClose).toBool();
if(hideOnClose)
QApplication::setQuitOnLastWindowClosed(false);
}
void AppContext::initTor() {