File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ void SettingsDialog::storeSettings() {
611611 ui->markdownLspCommandLineEdit ->text ().trimmed ());
612612 settings.setValue (QStringLiteral (" Editor/markdownLspArguments" ),
613613 ui->markdownLspArgumentsLineEdit ->text ().split (
614- QRegularExpression (QStringLiteral (" \\ s+" )), Qt ::SkipEmptyParts));
614+ QRegularExpression (QStringLiteral (" \\ s+" )), QString ::SkipEmptyParts));
615615
616616 if (!settings.value (QStringLiteral (" appMetrics/disableTracking" )).toBool () &&
617617 ui->appMetricsCheckBox ->isChecked ()) {
Original file line number Diff line number Diff line change @@ -1878,7 +1878,7 @@ bool QOwnNotesMarkdownTextEdit::viewportEvent(QEvent *event) {
18781878
18791879 // Find the first diagnostic selection that covers the cursor position
18801880 for (const QTextEdit::ExtraSelection &selection :
1881- std::as_const (_markdownLspDiagnosticsSelections)) {
1881+ qAsConst (_markdownLspDiagnosticsSelections)) {
18821882 const int selStart = selection.cursor .selectionStart ();
18831883 const int selEnd = selection.cursor .selectionEnd ();
18841884 if (cursorPos >= selStart && cursorPos <= selEnd) {
You can’t perform that action at this time.
0 commit comments