From d290e89f9b28f90b898a57c9f5e288602367cb3d Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Wed, 17 Aug 2016 08:25:03 +0200 Subject: [PATCH] Remove context menu for central MainWindow widget --- pv/mainwindow.cpp | 5 +++++ pv/mainwindow.hpp | 2 ++ 2 files changed, 7 insertions(+) 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); -- 2.30.2