diff ui/mainwindow.cpp @ 11:7e2f14c7aba2

Split up downloader component and further implement it
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Feb 2014 11:20:15 +0000
parents fe39d93f1261
children 225a5ec20dad
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Thu Feb 13 14:43:15 2014 +0000
+++ b/ui/mainwindow.cpp	Fri Feb 14 11:20:15 2014 +0000
@@ -56,7 +56,7 @@
 
 void MainWindow::createTrayIcon()
 {
-    QIcon trayImg = QIcon(":/img/tray_22.png");
+    QIcon trayImg(":/img/tray_22.png");
 
     mTrayMenu = new QMenu(this);
     mTrayMenu->addAction(mCheckUpdates);

http://wald.intevation.org/projects/trustbridge/