We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1e954 commit 33bdf08Copy full SHA for 33bdf08
src/widgets/qownnotesmarkdowntextedit.cpp
@@ -2156,7 +2156,7 @@ bool QOwnNotesMarkdownTextEdit::viewportEvent(QEvent *event) {
2156
2157
// Find the first diagnostic selection that covers the cursor position
2158
for (const QTextEdit::ExtraSelection &selection :
2159
- qAsConst(_markdownLspDiagnosticsSelections)) {
+ std::as_const(_markdownLspDiagnosticsSelections)) {
2160
const int selStart = selection.cursor.selectionStart();
2161
const int selEnd = selection.cursor.selectionEnd();
2162
if (cursorPos >= selStart && cursorPos <= selEnd) {
0 commit comments