Change bool/int condition
This commit is contained in:
@@ -138,7 +138,7 @@ SongList CueParser::Load(QIODevice *device, const QString &playlist_path, const
|
||||
}
|
||||
|
||||
// if this is a data file, all of it's tracks will be ignored
|
||||
bool valid_file = file_type.compare("BINARY", Qt::CaseInsensitive) && file_type.compare("MOTOROLA", Qt::CaseInsensitive);
|
||||
bool valid_file = file_type.compare("BINARY", Qt::CaseInsensitive) != 0 && file_type.compare("MOTOROLA", Qt::CaseInsensitive) != 0;
|
||||
|
||||
QString track_type;
|
||||
QString index;
|
||||
|
||||
Reference in New Issue
Block a user