diff options
Diffstat (limited to 'src/plugins/Input/flac/decoderflacfactory.cpp')
| -rw-r--r-- | src/plugins/Input/flac/decoderflacfactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/Input/flac/decoderflacfactory.cpp b/src/plugins/Input/flac/decoderflacfactory.cpp index f6046e6d5..2d4ae3ddb 100644 --- a/src/plugins/Input/flac/decoderflacfactory.cpp +++ b/src/plugins/Input/flac/decoderflacfactory.cpp @@ -20,6 +20,7 @@ #include <QMessageBox> #include <QFileInfo> +#include <QRegularExpression> #include <taglib/tag.h> #include <taglib/fileref.h> #include <taglib/flacfile.h> @@ -76,7 +77,7 @@ QList<TrackInfo*> DecoderFLACFactory::createPlayList(const QString &path, TrackI if(path.contains("://")) //is it cue track? { filePath.remove("flac://"); - filePath.remove(QRegExp("#\\d+$")); + filePath.remove(QRegularExpression("#\\d+$")); track = path.section("#", -1).toInt(); parts = TrackInfo::AllParts; //extract all metadata for single cue track } |
