Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoingui.cpp
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | if (enableWallet) { | ||||
connect(walletFrame, &WalletFrame::requestedSyncWarningInfo, this, | connect(walletFrame, &WalletFrame::requestedSyncWarningInfo, this, | ||||
&BitcoinGUI::showModalOverlay); | &BitcoinGUI::showModalOverlay); | ||||
} | } | ||||
#endif | #endif | ||||
#ifdef Q_OS_MAC | #ifdef Q_OS_MAC | ||||
m_app_nap_inhibitor = new CAppNapInhibitor; | m_app_nap_inhibitor = new CAppNapInhibitor; | ||||
#endif | #endif | ||||
GUIUtil::handleCloseWindowShortcut(this); | |||||
} | } | ||||
BitcoinGUI::~BitcoinGUI() { | BitcoinGUI::~BitcoinGUI() { | ||||
// Unsubscribe from notifications from core | // Unsubscribe from notifications from core | ||||
unsubscribeFromCoreSignals(); | unsubscribeFromCoreSignals(); | ||||
QSettings settings; | QSettings settings; | ||||
settings.setValue("MainWindowGeometry", saveGeometry()); | settings.setValue("MainWindowGeometry", saveGeometry()); | ||||
▲ Show 20 Lines • Show All 1,397 Lines • Show Last 20 Lines |