UI: TrayIcon: Set type.

This commit is contained in:
Nodir Temirkhodjaev 2021-05-29 16:34:01 +03:00
parent f64c3b5366
commit 78160a116d
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ HotKeyManager *TrayIcon::hotKeyManager() const
return ctrl()->hotKeyManager();
}
void TrayIcon::onTrayActivated(int reason)
void TrayIcon::onTrayActivated(QSystemTrayIcon::ActivationReason reason)
{
switch (reason) {
case QSystemTrayIcon::Trigger:

View File

@ -44,7 +44,7 @@ public slots:
void updateTrayMenu(bool onlyFlags = false);
protected slots:
void onTrayActivated(int reason);
void onTrayActivated(QSystemTrayIcon::ActivationReason reason);
void saveTrayFlags();