mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:25:20 +00:00
UI: TrayIcon: Set type.
This commit is contained in:
parent
f64c3b5366
commit
78160a116d
@ -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:
|
||||
|
@ -44,7 +44,7 @@ public slots:
|
||||
void updateTrayMenu(bool onlyFlags = false);
|
||||
|
||||
protected slots:
|
||||
void onTrayActivated(int reason);
|
||||
void onTrayActivated(QSystemTrayIcon::ActivationReason reason);
|
||||
|
||||
void saveTrayFlags();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user