From: Joel Holdsworth Date: Sat, 10 Jan 2015 16:04:41 +0000 (+0000) Subject: MainWindow: Removed old main toolbar X-Git-Tag: pulseview-0.3.0~268 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b055b08350118b593ee6e3c30810f170f924d84d;p=pulseview.git MainWindow: Removed old main toolbar --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 2597928d..f9ae4d4e 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -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);