Using master (98958c81f5065a5de13699d46995d278ecb6709e) with Qt `5.12.3` (also tested with depends) with multiple wallets available. None are shown in the `Open Wallet ->` menu in the gui. The wallets can be loaded from the console, bitcoin-cli etc.
{
    QString window_title = tr(PACKAGE_NAME);
#ifdef ENABLE_WALLET
    if (walletFrame) {
        WalletModel* const wallet_model = walletFrame->currentWalletModel();
        if (wallet_model && !wallet_model->getWalletName().isEmpty()) {
            window_title += " - " + wallet_model->getDisplayName();
        }
    }
#endif
    if (!m_network_style->getTitleAddText().isEmpty()) {
        window_title += " - " + m_network_style->getTitleAddText();
    }
    setWindowTitle(window_title);
}
void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden)
{
    if(!clientModel)
        return;
    if (!isHidden() && !isMinimized() && !GUIUtil::isObscured(this) && fToggleHidden) {
        hide();
    } else {
        GUIUtil::bringToFront(this);
    }
}
void BitcoinGUI::toggleHidden()
{
    showNormalIfMinimized(true);
}
void BitcoinGUI::detectShutdown()