Commit df0ecbdc authored by Ahmad Samir's avatar Ahmad Samir Committed by Volker Krause
Browse files

Port QRegExp to QRegularExpression

parent 5a74622b
Pipeline #30704 passed with stage
in 24 minutes and 22 seconds
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "filterthebat.h" #include "filterthebat.h"
#include <QRegExp> #include <QRegularExpression>
#include <KLocalizedString> #include <KLocalizedString>
#include <QFileDialog> #include <QFileDialog>
#include <QTemporaryFile> #include <QTemporaryFile>
...@@ -157,7 +157,7 @@ void FilterTheBat::importFiles(const QString &FileName) ...@@ -157,7 +157,7 @@ void FilterTheBat::importFiles(const QString &FileName)
long l = 0; long l = 0;
QByteArray input(50, '\0'); QByteArray input(50, '\0');
QRegExp regexp(QStringLiteral("!.p.0")); const QRegularExpression regexp(QStringLiteral("!.p.0"));
QFile tbb(FileName); QFile tbb(FileName);
int iFound = 0; int iFound = 0;
int count = 0; int count = 0;
......
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