]> granicus.if.org Git - graphviz/commitdiff
Remove unnecessary open action
authorerg <devnull@localhost>
Thu, 7 Apr 2011 18:48:26 +0000 (18:48 +0000)
committererg <devnull@localhost>
Thu, 7 Apr 2011 18:48:26 +0000 (18:48 +0000)
cmd/gvedit/imageviewer.cpp

index 3507cb3a7ee6e2d25532e2f5455dc7cd6fa12739..edfce60053f86a5ed25e21696606a43b9404ac4e 100644 (file)
@@ -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);*/