Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:fe39d93f1261 | 11:7e2f14c7aba2 |
---|---|
54 connect(mQuitAction, SIGNAL(triggered()), qApp, SLOT(quit())); | 54 connect(mQuitAction, SIGNAL(triggered()), qApp, SLOT(quit())); |
55 } | 55 } |
56 | 56 |
57 void MainWindow::createTrayIcon() | 57 void MainWindow::createTrayIcon() |
58 { | 58 { |
59 QIcon trayImg = QIcon(":/img/tray_22.png"); | 59 QIcon trayImg(":/img/tray_22.png"); |
60 | 60 |
61 mTrayMenu = new QMenu(this); | 61 mTrayMenu = new QMenu(this); |
62 mTrayMenu->addAction(mCheckUpdates); | 62 mTrayMenu->addAction(mCheckUpdates); |
63 mTrayMenu->addAction(mQuitAction); | 63 mTrayMenu->addAction(mQuitAction); |
64 | 64 |