X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=6b3398f22d9a40c7bb8266b24a37e29972fe3bef;hb=404aad0ed6bd90566739af6ecb57475bc02a7c8e;hp=b916999fb9bd2a1fcfd2c691f5aa89a6081f15ba;hpb=cec48d1618edd0f28f21d5351f53692876222e16;p=pulseview.git diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index b916999..6b3398f 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -41,6 +41,7 @@ #include "devicemanager.h" #include "dialogs/about.h" #include "dialogs/connect.h" +#include "toolbars/contextbar.h" #include "toolbars/samplingbar.h" #include "view/view.h" @@ -204,6 +205,11 @@ void MainWindow::setup_ui() SLOT(run_stop())); addToolBar(_sampling_bar); + // Setup the context bar + _context_bar = new toolbars::ContextBar(this); + addToolBar(_context_bar); + insertToolBarBreak(_context_bar); + // Set the title setWindowTitle(QApplication::translate("MainWindow", "PulseView", 0, QApplication::UnicodeUTF8));