Skip to content

Commit

Permalink
Remove a use of QRegExp from commflag main.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Feb 19, 2021
1 parent 779e602 commit df94e00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/programs/mythcommflag/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
// Qt headers
#include <QCoreApplication>
#include <QString>
#include <QRegExp>
#include <QDir>
#include <QEvent>

Expand Down Expand Up @@ -236,7 +235,7 @@ static int SetCutList(uint chanid, const QDateTime& starttime, QString newCutLis
{
frm_dir_map_t cutlist;

newCutList.replace(QRegExp(" "), "");
newCutList.remove(" ");

#if QT_VERSION < QT_VERSION_CHECK(5,14,0)
QStringList tokens = newCutList.split(",", QString::SkipEmptyParts);
Expand Down

0 comments on commit df94e00

Please sign in to comment.