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