Fix compile error on macOS

This commit is contained in:
Julius Künzel
2024-02-24 22:30:08 +00:00
committed by Waqar Ahmed
parent c0f2d26377
commit 61264c1917

View File

@@ -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);