]> sigrok.org Git - pulseview.git/commitdiff
MainWindow: Removed old main toolbar
authorJoel Holdsworth <redacted>
Sat, 10 Jan 2015 16:04:41 +0000 (16:04 +0000)
committerJoel Holdsworth <redacted>
Sat, 10 Jan 2015 16:19:31 +0000 (16:19 +0000)
pv/mainwindow.cpp

index 2597928d7921fec293e75dda35d3c5e9d30d544a..f9ae4d4e6eca7c07a2ab72e55215ab9d8d3c1bd8 100644 (file)
@@ -322,18 +322,6 @@ void MainWindow::setup_ui()
        setMenuBar(menu_bar);
        QMetaObject::connectSlotsByName(this);
 
-       // Setup the toolbar
-       QToolBar *const toolbar = new QToolBar(tr("Main Toolbar"), this);
-       toolbar->setObjectName(QString::fromUtf8("MainToolbar"));
-       toolbar->addAction(action_open_);
-       toolbar->addAction(action_save_as_);
-       toolbar->addSeparator();
-       toolbar->addAction(action_view_zoom_in_);
-       toolbar->addAction(action_view_zoom_out_);
-       toolbar->addAction(action_view_zoom_fit_);
-       toolbar->addAction(action_view_zoom_one_to_one_);
-       addToolBar(toolbar);
-
        // Setup the sampling bar
        main_bar_ = new toolbars::MainBar(session_, *this);