Make sigrokdecode a non-optional dependancy
[pulseview.git] / pv / mainwindow.cpp
index ca532ee2044ca598cbb1d99fefa6a29a354d3b42..5fe4ccb6cfb63cce767ef5bbb142d99216503528 100644 (file)
@@ -18,9 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifdef ENABLE_SIGROKDECODE
 #include <libsigrokdecode/libsigrokdecode.h>
-#endif
 
 #include <boost/bind.hpp>
 #include <boost/foreach.hpp>
@@ -216,7 +214,6 @@ void MainWindow::setup_ui()
        // 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,