File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3270,7 +3270,7 @@ void MainWindow::action_Mark_Shortcut() {
32703270
32713271 if (DocumentWidget *document = currentDocument ()) {
32723272#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
3273- const Qt::Key key = sequence[1 ].key ();
3273+ const auto key = static_cast < int >( sequence[1 ].key () );
32743274#else
32753275 const int key = sequence[1 ];
32763276#endif
@@ -3355,7 +3355,7 @@ void MainWindow::action_Goto_Mark_Shortcut_Helper(bool shifted) {
33553355 if (DocumentWidget *document = currentDocument ()) {
33563356
33573357#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
3358- const Qt::Key key = sequence[1 ].key ();
3358+ const auto key = static_cast < int >( sequence[1 ].key () );
33593359#else
33603360 const int key = sequence[1 ];
33613361#endif
You can’t perform that action at this time.
0 commit comments