Skip to content

Commit 52d5599

Browse files
committed
Use Qt::SkipEmptyParts when using Qt >= 5.14
1 parent e397374 commit 52d5599

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/playlist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ void Playlist::load_m3u(QString file, M3UFormat format) {
10661066
filename = line.left(pos);
10671067
QString http_header;
10681068
QString param_str = line.mid(pos + 1);
1069-
#if QT_VERSION >= 0x050000
1069+
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
10701070
QStringList params = param_str.split('&', Qt::SkipEmptyParts);
10711071
#else
10721072
QStringList params = param_str.split('&', QString::SkipEmptyParts);

0 commit comments

Comments
 (0)