comparison ui/mainwindow.cpp @ 970:c80777457133

(issue50) Add window icon and icon for 48x48px
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 28 Aug 2014 14:50:06 +0200
parents 9783e32e215f
children b8ae69bcc540
comparison
equal deleted inserted replaced
969:c096881e8ed0 970:c80777457133
466 } 466 }
467 467
468 void MainWindow::createTrayIcon() 468 void MainWindow::createTrayIcon()
469 { 469 {
470 QIcon trayImg(":/img/tray_22.png"); 470 QIcon trayImg(":/img/tray_22.png");
471 trayImg.addFile(":/img/tray_48.png", QSize(48,48));
471 472
472 mTrayMenu = new QMenu(this); 473 mTrayMenu = new QMenu(this);
473 mTrayMenu->addAction(mCheckUpdates); 474 mTrayMenu->addAction(mCheckUpdates);
474 mTrayMenu->addAction(mQuitAction); 475 mTrayMenu->addAction(mQuitAction);
475 476

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