Hi i am trying to make a System Tray Icon to be shown everytime i minimize my application......
if (isMinimized()) {
trayIcon->show();
enum MessageIcon { NoIcon, Information, Warning, Critical };
trayIcon->showMessage("titlos", "mplampla", icon, 10000);
emit minimized();}
if (isMinimized()) {
trayIcon->show();
enum MessageIcon { NoIcon, Information, Warning, Critical };
QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::MessageIcon(Information);
trayIcon->showMessage("titlos", "mplampla", icon, 10000);
emit minimized();}
To copy to clipboard, switch view to plain text mode
So my problem is that the System Tray Icon is been shown the the top left of the computer and not at my trayicon.... What should i do?
Bookmarks