diff ui/mainwindow.cpp @ 525:3edbe1af2c85

Remove dead statusdialog
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 13:29:28 +0000
parents a097dd86cb4d
children dec797c7230c
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Tue Apr 29 15:26:43 2014 +0200
+++ b/ui/mainwindow.cpp	Tue Apr 29 13:29:28 2014 +0000
@@ -46,7 +46,6 @@
 #include "downloader.h"
 #include "helpdialog.h"
 #include "aboutdialog.h"
-#include "statusdialog.h"
 #include "certificateitemdelegate.h"
 #include "separatoritemdelegate.h"
 #include "installwrapper.h"
@@ -318,16 +317,12 @@
     QMenu *mMenu = new QMenu(tr("Menu"), mMenuBar);
     mMenuBar->addMenu(mMenu);
     QAction *update = mMenu->addAction(tr("Force Update"));
-//    QAction *settings = mMenu->addAction(tr("Settings"));
-//    QAction *status = mMenu->addAction(tr("Statusdialog"));
     mMenu->addSeparator();
     QAction *help = mMenu->addAction(tr("Help"));
     QAction *about = mMenu->addAction(tr("About"));
     mMenu->addSeparator();
     QAction *quit = mMenu->addAction(tr("Quit"));
     connect(update, SIGNAL(triggered()), this, SLOT(checkUpdates()));
-//    connect(settings, SIGNAL(triggered()), this, SLOT(showSettings()));
-//    connect(status, SIGNAL(triggered()), this, SLOT(showStatus()));
     connect(help, SIGNAL(triggered()), this, SLOT(showHelp()));
     connect(about, SIGNAL(triggered()), this, SLOT(showAbout()));
     connect(quit, SIGNAL(triggered()), this, SLOT(closeApp()));
@@ -594,18 +589,6 @@
     return item;
 }
 
-void MainWindow::showSettings()
-{
-    qDebug() << "show settingsdialog";
-}
-
-void MainWindow::showStatus()
-{
-    qDebug() << "show settingsdialog";
-    StatusDialog *status = new StatusDialog(this);
-    status->show();
-}
-
 void MainWindow::showHelp()
 {
     qDebug() << "show helpdialog";

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