Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 200:fe424c5fc875
Show the about dialog.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 13:30:12 +0100 |
parents | 246c21b1727f |
children | a3f542bf38f7 |
comparison
equal
deleted
inserted
replaced
199:4790a26c2e8b | 200:fe424c5fc875 |
---|---|
25 | 25 |
26 #include "certificatelist.h" | 26 #include "certificatelist.h" |
27 #include "downloader.h" | 27 #include "downloader.h" |
28 #include "listupdatedialog.h" | 28 #include "listupdatedialog.h" |
29 #include "helpdialog.h" | 29 #include "helpdialog.h" |
30 #include "aboutdialog.h" | |
30 | 31 |
31 MainWindow::MainWindow() { | 32 MainWindow::MainWindow() { |
32 createActions(); | 33 createActions(); |
33 createTrayIcon(); | 34 createTrayIcon(); |
34 createMenuBar(); | 35 createMenuBar(); |
296 } | 297 } |
297 | 298 |
298 void MainWindow::showAbout() | 299 void MainWindow::showAbout() |
299 { | 300 { |
300 qDebug() << "show aboutdialog"; | 301 qDebug() << "show aboutdialog"; |
302 AboutDialog *about = new AboutDialog(this); | |
303 about->show(); | |
301 } | 304 } |
302 | 305 |
303 void MainWindow::showDetails(QListWidgetItem *item) | 306 void MainWindow::showDetails(QListWidgetItem *item) |
304 { | 307 { |
305 qDebug() << "show details"; | 308 qDebug() << "show details"; |