[PATCH 2 of 3] Removed menu entries

Wald Commits scm-commit at wald.intevation.org
Tue Apr 29 15:26:51 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1398777962 -7200
# Node ID ca583ffe728aaf0f5fd0118840ea290635676d6c
# Parent  c495dd026d61e3d568ce26efc804d58e6b455dbf
Removed menu entries.

diff -r c495dd026d61 -r ca583ffe728a ui/mainwindow.cpp
--- a/ui/mainwindow.cpp	Tue Apr 29 15:24:49 2014 +0200
+++ b/ui/mainwindow.cpp	Tue Apr 29 15:26:02 2014 +0200
@@ -317,16 +317,16 @@
     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"));
+//    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(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()));


More information about the Trustbridge-commits mailing list