mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 17:49:18 +00:00
Use application-level event filter for handling shortcut redirects
* If we just filter the main window, it won't properly pick up shortcuts used in floating windows.
This commit is contained in:
1 file changed
+1
-1
@@ -67,7 +67,7 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
|
||||
|
||||
QToolTip::setPalette(palette());
|
||||
|
||||
installEventFilter(this);
|
||||
qApp->installEventFilter(this);
|
||||
|
||||
setAcceptDrops(true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user