Display a proper tray icon at app startup

This commit is contained in:
Klaas Freitag 2012-05-02 17:05:31 +02:00
parent 1a2152859d
commit 7fc409152f

View file

@ -262,7 +262,7 @@ void Application::setupActions()
void Application::setupSystemTray()
{
_tray = new QSystemTrayIcon();
_tray->setIcon( _theme->folderIcon("none") ); // load the grey icon
_tray->setIcon( _theme->applicationIcon() ); // load the grey icon
connect(_tray,SIGNAL(activated(QSystemTrayIcon::ActivationReason)),
SLOT(slotTrayClicked(QSystemTrayIcon::ActivationReason)));