Merge pull request #53 from yan12125/fix-build-unify-tray-menus
Fix building with -DUNIFY_TRAY_MENUS=ON
This commit is contained in:
commit
2049e0d425
|
@ -212,7 +212,7 @@ void TrayIcon::showInternalError(
|
|||
}
|
||||
InternalErrorsDialog::addError(move(error));
|
||||
#ifdef SYNCTHINGTRAY_UNIFY_TRAY_MENUS
|
||||
m_trayMenu.widget().showInternalErrorsButton();
|
||||
trayMenu().widget().showInternalErrorsButton();
|
||||
#else
|
||||
m_errorsAction->setVisible(true);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue