From: Soeren Apel Date: Wed, 17 Aug 2016 06:25:03 +0000 (+0200) Subject: Remove context menu for central MainWindow widget X-Git-Tag: pulseview-0.4.0~268 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d290e89f9b28f90b898a57c9f5e288602367cb3d;p=pulseview.git Remove context menu for central MainWindow widget --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 8ab1a24b..59f4369e 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -807,6 +807,11 @@ void MainWindow::keyReleaseEvent(QKeyEvent *event) QMainWindow::keyReleaseEvent(event); } +QMenu* MainWindow::createPopupMenu() +{ + return nullptr; +} + void MainWindow::show_session_error( const QString text, const QString info_text) { diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 547089c5..9a66b345 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -148,6 +148,8 @@ private: void keyReleaseEvent(QKeyEvent *event); + virtual QMenu* createPopupMenu(); + private Q_SLOTS: void show_session_error( const QString text, const QString info_text);