Fix a crash introduced in the last commit

This commit is contained in:
Thomas Frauendorfer 2008-02-17 18:14:48 +01:00
parent 5b5600aadd
commit ec50cbdbeb

View file

@ -372,10 +372,9 @@ PlaylistWidget::menuAddPls ()
if (files.count () > 0) {
XMMSHandler::getInstance ().xcollection ()->playlistClear ();
QString file = files[0];
XMMSHandler::getInstance ().xcollection ()->addPlsFile (QUrl (file));
}
QString file = files[0];
XMMSHandler::getInstance ().xcollection ()->addPlsFile (QUrl (file));
}
void