Skip to content

Commit

Permalink
Stop using + operator with enum QKeySequence::StandardKey
Browse files Browse the repository at this point in the history
Dropped in Qt 6:

 D:/a/openscad/openscad/src/gui/MainWindow.cc:457: error: use of deleted
function 'constexpr void Qt::operator+(QFlags<Modifier>::enum_type, QFlags<Modifier>::enum_type)'
  • Loading branch information
cjmayo committed Jan 1, 2024
1 parent 48bcf3b commit d5962e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MainWindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ MainWindow::MainWindow(const QStringList& filenames)
connect(this->editActionFind, SIGNAL(triggered()), this, SLOT(showFind()));
connect(this->editActionFindAndReplace, SIGNAL(triggered()), this, SLOT(showFindAndReplace()));
#ifdef Q_OS_WIN
this->editActionFindAndReplace->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F));
this->editActionFindAndReplace->setShortcut(QKeySequence(Qt::CTRL, Qt::SHIFT, Qt::Key_F));
#endif
connect(this->editActionFindNext, SIGNAL(triggered()), this, SLOT(findNext()));
connect(this->editActionFindPrevious, SIGNAL(triggered()), this, SLOT(findPrev()));
Expand Down

0 comments on commit d5962e8

Please sign in to comment.