Fix tautological comparison.

This commit is contained in:
John Maguire 2013-12-12 15:41:55 +01:00
parent 587fa39dad
commit 09eeeaab4e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ SongList PLSParser::Load(QIODevice *device, const QString& playlist_path, const
// Use the title and length we've already loaded if any
if (!songs[n].title().isEmpty())
song.set_title(songs[n].title());
if (!songs[n].length_nanosec() != -1)
if (songs[n].length_nanosec() != -1)
song.set_length_nanosec(songs[n].length_nanosec());
songs[n] = song;