mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-18 07:41:31 +02:00
hide on close
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user