backward compatibility not needed here

This commit is contained in:
Axel Kohlmeyer
2025-04-28 18:56:32 -04:00
parent 0768aac1fd
commit e5854ced41

View File

@ -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;