From 9c6f9b9d95c432997210fff5598708dd284f0dbd Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 7 Apr 2011 18:48:26 +0000 Subject: [PATCH] Remove unnecessary open action --- cmd/gvedit/imageviewer.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/gvedit/imageviewer.cpp b/cmd/gvedit/imageviewer.cpp index 3507cb3a7..edfce6005 100644 --- a/cmd/gvedit/imageviewer.cpp +++ b/cmd/gvedit/imageviewer.cpp @@ -121,10 +121,6 @@ void ImageViewer::about() } void ImageViewer::createActions() { - openAct = new QAction(tr("&Open..."), this); - openAct->setShortcut(tr("Ctrl+O")); - connect(openAct, SIGNAL(triggered()), this, SLOT(open())); - printAct = new QAction(tr("&Print..."), this); printAct->setShortcut(tr("Ctrl+P")); printAct->setEnabled(false); @@ -165,7 +161,6 @@ void ImageViewer::createMenus() { /* fileMenu = new QMenu(tr("&File"), this); - fileMenu->addAction(openAct); fileMenu->addAction(printAct); fileMenu->addSeparator(); fileMenu->addAction(exitAct);*/ -- 2.40.0