Skip to content

Commit

Permalink
qt6: Don't need to use a QRegExp in lcddevice.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jun 5, 2020
1 parent 06539d3 commit bd8f7ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythbase/lcddevice.cpp
Expand Up @@ -16,7 +16,6 @@

// Qt headers
#include <QApplication>
#include <QRegExp>
#include <QTextStream>
#include <QTextCodec>
#include <QByteArray>
Expand Down Expand Up @@ -723,7 +722,7 @@ LCD::~LCD()
QString LCD::quotedString(const QString &string)
{
QString sRes = string;
sRes.replace(QRegExp("\""), QString("\"\""));
sRes.replace(QString("\""), QString("\"\""));
sRes = "\"" + sRes + "\"";

return(sRes);
Expand Down

0 comments on commit bd8f7ed

Please sign in to comment.