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,11 +372,10 @@ PlaylistWidget::menuAddPls ()
|
||||||
|
|
||||||
if (files.count () > 0) {
|
if (files.count () > 0) {
|
||||||
XMMSHandler::getInstance ().xcollection ()->playlistClear ();
|
XMMSHandler::getInstance ().xcollection ()->playlistClear ();
|
||||||
}
|
|
||||||
|
|
||||||
QString file = files[0];
|
QString file = files[0];
|
||||||
XMMSHandler::getInstance ().xcollection ()->addPlsFile (QUrl (file));
|
XMMSHandler::getInstance ().xcollection ()->addPlsFile (QUrl (file));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
PlaylistWidget::resizeEvent (QResizeEvent *event)
|
PlaylistWidget::resizeEvent (QResizeEvent *event)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue