Skip to content

Commit

Permalink
Merge Mode into View menu
Browse files Browse the repository at this point in the history
  • Loading branch information
krf committed Jan 12, 2015
1 parent fa3405d commit 20e739d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ MainWindow::MainWindow( QWidget *parent )
action->setCheckable(true);
action->setData("detailedhost");
connect(m_viewMode, SIGNAL(triggered(QAction*)), this, SLOT(handleViewModeActionTriggered(QAction*)));

QMenu* modeMenu = viewMenu->addMenu(tr("Mode"));
modeMenu->addActions(m_viewMode->actions());
viewMenu->addActions(m_viewMode->actions());

viewMenu->addSeparator();

Expand Down

0 comments on commit 20e739d

Please sign in to comment.