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.
trayIconMenu->addSeparator();
        trayIconMenu->addAction(openRPCConsoleAction);
    }
    trayIconMenu->addAction(optionsAction);
#ifndef Q_OS_MAC 
    trayIconMenu->addSeparator();
    trayIconMenu->addAction(quitAction);
#endif
}
#ifndef Q_OS_MAC
void BitcoinGUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason)
{
    if(reason == QSystemTrayIcon::Trigger)
    {
        
        toggleHidden();
    }
}
#else
void BitcoinGUI::macosDockIconActivated()
{
    show();
    activateWindow();
}
#endif
void BitcoinGUI::optionsClicked()
{
    openOptionsDialogWithTab(OptionsDialog::TAB_MAIN);
}
void BitcoinGUI::aboutClicked()