Commit e915c5be authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some clazy warning

parent fb564e6c
Pipeline #78159 passed with stage
in 16 minutes and 26 seconds
......@@ -308,7 +308,7 @@ void SieveTextEdit::addExtraMenuEntry(QMenu *menu, QPoint pos)
}
}
QString SieveTextEdit::selectedWord(const QPoint &pos) const
QString SieveTextEdit::selectedWord(QPoint pos) const
{
QTextCursor wordSelectCursor(pos.isNull() ? textCursor() : cursorForPosition(pos));
wordSelectCursor.clearSelection();
......
......@@ -66,7 +66,7 @@ private:
bool overrideShortcut(QKeyEvent *event);
Q_REQUIRED_RESULT QStringList completerList() const;
void setCompleterList(const QStringList &list);
Q_REQUIRED_RESULT QString selectedWord(const QPoint &pos = QPoint()) const;
Q_REQUIRED_RESULT QString selectedWord(QPoint pos = QPoint()) const;
std::unique_ptr<SieveTextEditPrivate> const d;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment