diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-03 19:09:10 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-03 19:09:10 -0400 |
| commit | ea3f8826f13832e97fde8ae0c50c3533221df34e (patch) | |
| tree | 75f207d648c3c65f1afe117c1c8954d0bcc65c53 /src | |
| parent | 254304217d6cb00cbedf13f8c493dc6c80e11e24 (diff) | |
more comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 62971f00..f8c09b20 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -738,6 +738,10 @@ void MainWindow::setToolbarButtonStyle(Qt::ToolButtonStyle s) void MainWindow::on_centralWidget_customContextMenuRequested(const QPoint &pos) { + // this allows for getting the context menu even if both the menubar and all + // the toolbars are hidden; an alternative is the Alt key handled in + // keyPressEvent() below + // the custom context menu event bubbles up to here if widgets don't actually // process this, which would show the menu when right-clicking button, labels, // etc. |
