MCPcopy Create free account
hub / github.com/ElementsProject/elements / updateWindowTitle

Method updateWindowTitle

src/qt/bitcoingui.cpp:1355–1370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1353}
1354
1355void 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
1372void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden)
1373{

Callers

nothing calls this directly

Calls 3

currentWalletModelMethod · 0.80
getDisplayNameMethod · 0.80
getWalletNameMethod · 0.45

Tested by

no test coverage detected