From: erg Date: Thu, 7 Apr 2011 18:48:26 +0000 (+0000) Subject: Remove unnecessary open action X-Git-Tag: LAST_LIBGRAPH~32^2~836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c6f9b9d95c432997210fff5598708dd284f0dbd;p=graphviz Remove unnecessary open action --- 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);*/