mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-31 14:19:17 +00:00
Show notification popup after application start in tray
This commit is contained in:
@@ -226,6 +226,12 @@ void Controller::enableTrayIcon() {
|
||||
};
|
||||
connect(m_trayIcon, &QSystemTrayIcon::activated, this, trayIconActivated);
|
||||
m_trayIcon->show();
|
||||
if (!ConfigHandler().startupLaunchValue()) {
|
||||
m_trayIcon->showMessage("Flameshot",
|
||||
QObject::tr("Application is started successfully"),
|
||||
QSystemTrayIcon::Information,
|
||||
3000);
|
||||
}
|
||||
}
|
||||
|
||||
void Controller::disableTrayIcon() {
|
||||
|
||||
Reference in New Issue
Block a user