mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
Qt: fix download menu visibility
This commit is contained in:
parent
609182b131
commit
e58e1ebfd9
@ -208,14 +208,14 @@ void main_window::Init()
|
||||
|
||||
connect(&m_updater, &update_manager::signal_update_available, this, [this](bool update_available)
|
||||
{
|
||||
if (ui->menuBar && ui->menuBar->cornerWidget())
|
||||
{
|
||||
ui->menuBar->cornerWidget()->setVisible(update_available);
|
||||
}
|
||||
if (m_download_menu_action)
|
||||
{
|
||||
m_download_menu_action->setVisible(update_available);
|
||||
}
|
||||
if (ui->menuBar && ui->menuBar->cornerWidget())
|
||||
{
|
||||
ui->menuBar->cornerWidget()->setVisible(update_available);
|
||||
}
|
||||
});
|
||||
|
||||
#if defined(_WIN32) || defined(__linux__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user