Merge pull request #53 from yan12125/fix-build-unify-tray-menus

Fix building with -DUNIFY_TRAY_MENUS=ON
This commit is contained in:
Martchus 2019-08-25 16:02:05 +02:00 committed by GitHub
commit 2049e0d425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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