Remove context menu for central MainWindow widget
authorSoeren Apel <soeren@apelpie.net>
Wed, 17 Aug 2016 06:25:03 +0000 (08:25 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 18 Aug 2016 22:36:03 +0000 (00:36 +0200)
pv/mainwindow.cpp
pv/mainwindow.hpp

index 8ab1a24b70b0f8ccf8c073231640880e93e3e28a..59f4369e2990ca902d15d1a0c3dc5fbcaea9b560 100644 (file)
@@ -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)
 {
index 547089c59e5a39a17acf36771a75e37c094daa1f..9a66b3452dc00292151d7c054b6be5627af6cc6c 100644 (file)
@@ -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);