Commit 1edbea3e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to port to qregularexpression

parent 51476474
Pipeline #167708 passed with stage
in 1 minute and 44 seconds
......@@ -21,6 +21,7 @@
#include "core/kmixdevicemanager.h"
#include <QRegExp>
#include <QRegularExpression>
#include <QString>
#include <QTimer>
......@@ -67,7 +68,7 @@ QString KMixDeviceManager::getUDI_OSS(const QString &devname)
static bool isSoundDevice(const QString &udi)
{
QRegExp rx("/sound/"); // any UDI mentioning sound
QRegularExpression rx("/sound/"); // any UDI mentioning sound
return (udi.contains(rx));
}
......
......@@ -24,7 +24,6 @@
#include <qobject.h>
#include <qlist.h>
#include <QMap>
#include <QRegExp>
#include <QString>
#include "kmixcore_export.h"
......
Supports Markdown
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