From e5854ced419bba46f28c109f499c61fa04a98ee6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 28 Apr 2025 18:56:32 -0400 Subject: [PATCH] backward compatibility not needed here --- tools/lammps-gui/flagwarnings.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/lammps-gui/flagwarnings.h b/tools/lammps-gui/flagwarnings.h index d39771933e..b73224223b 100644 --- a/tools/lammps-gui/flagwarnings.h +++ b/tools/lammps-gui/flagwarnings.h @@ -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;