Fix building with -DUNIFY_TRAY_MENUS=ON

Ref: 1bdba31c70
This commit is contained in:
Chih-Hsuan Yen 2019-08-25 20:41:17 +08:00
parent 9ee723df0c
commit 335e1efafa
No known key found for this signature in database
GPG Key ID: F98EF2A7B0A098AE
1 changed files with 1 additions and 1 deletions

View File

@ -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