Commit 8ca3a2a7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 19c5410e
......@@ -33,6 +33,8 @@ public:
QTextFrame::iterator processBlockContents(QTextFrame::iterator frameIt, const QTextBlock &block) override;
protected:
QTextBlock::iterator processFragment(QTextBlock::iterator it, const QTextFragment &fragment, const QTextDocument *doc) override;
private:
Q_DISABLE_COPY(MarkupDirector)
};
}
......
......@@ -50,7 +50,7 @@ struct SpellCheckRange
int length;
};
QDebug operator<<(QDebug dbg, const SpellCheckRange &s)
QDebug operator<<(QDebug dbg, SpellCheckRange s)
{
dbg << '(' << s.offset << ',' << s.length << ')';
return dbg;
......
......@@ -42,7 +42,7 @@ public:
Play,
Pause
};
Q_ENUMS(State)
Q_ENUM(State)
Q_REQUIRED_RESULT State state() const;
void setState(KPIMTextEdit::TextToSpeechWidget::State state);
......
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