Fix a crash introduced in the last commit
This commit is contained in:
parent
5b5600aadd
commit
ec50cbdbeb
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue