From 61264c1917770102a85123d388528f2bcacfd960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20K=C3=BCnzel?= Date: Sat, 24 Feb 2024 22:30:08 +0000 Subject: [PATCH] Fix compile error on macOS --- src/session/SessionController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session/SessionController.cpp b/src/session/SessionController.cpp index dc1308f53..2b28b87b4 100644 --- a/src/session/SessionController.cpp +++ b/src/session/SessionController.cpp @@ -767,8 +767,8 @@ void SessionController::setupCommonActions() _findPreviousAction->setEnabled(false); #ifdef Q_OS_MACOS - collection->setDefaultShortcut(_findAction, Qt::CTRL | Qt::Key_F); - collection->setDefaultShortcut(_findNextAction, Qt::CTRL | Qt::Key_G); + collection->setDefaultShortcut(_findAction, QKeySequence(Qt::CTRL | Qt::Key_F)); + collection->setDefaultShortcut(_findNextAction, QKeySequence(Qt::CTRL | Qt::Key_G)); collection->setDefaultShortcut(_findPreviousAction, Qt::CTRL | Qt::SHIFT | Qt::Key_G); #else collection->setDefaultShortcut(_findAction, Qt::CTRL | Qt::SHIFT | Qt::Key_F);