| 1353 | } |
| 1354 | |
| 1355 | void BitcoinGUI::updateWindowTitle() |
| 1356 | { |
| 1357 | QString window_title = PACKAGE_NAME; |
| 1358 | #ifdef ENABLE_WALLET |
| 1359 | if (walletFrame) { |
| 1360 | WalletModel* const wallet_model = walletFrame->currentWalletModel(); |
| 1361 | if (wallet_model && !wallet_model->getWalletName().isEmpty()) { |
| 1362 | window_title += " - " + wallet_model->getDisplayName(); |
| 1363 | } |
| 1364 | } |
| 1365 | #endif |
| 1366 | if (!m_network_style->getTitleAddText().isEmpty()) { |
| 1367 | window_title += " - " + m_network_style->getTitleAddText(); |
| 1368 | } |
| 1369 | setWindowTitle(window_title); |
| 1370 | } |
| 1371 | |
| 1372 | void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden) |
| 1373 | { |
nothing calls this directly
no test coverage detected