backward compatibility not needed here
This commit is contained in:
@ -32,13 +32,8 @@ protected:
|
|||||||
void highlightBlock(const QString &text) override;
|
void highlightBlock(const QString &text) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
|
||||||
QRegExp isWarning;
|
|
||||||
QRegExp isURL;
|
|
||||||
#else
|
|
||||||
QRegularExpression isWarning;
|
QRegularExpression isWarning;
|
||||||
QRegularExpression isURL;
|
QRegularExpression isURL;
|
||||||
#endif
|
|
||||||
QTextCharFormat formatWarning;
|
QTextCharFormat formatWarning;
|
||||||
QTextCharFormat formatURL;
|
QTextCharFormat formatURL;
|
||||||
QLabel *summary;
|
QLabel *summary;
|
||||||
|
|||||||
Reference in New Issue
Block a user