fixed clear playlist (also clear the media object)
authorTamas <tamas@u200.(none)>
Fri, 16 Jul 2010 15:41:24 +0000 (17:41 +0200)
committerTamas <tamas@u200.(none)>
Fri, 16 Jul 2010 15:41:24 +0000 (17:41 +0200)
mainwindow.cpp

index da4c86c..da48bf3 100644 (file)
@@ -445,6 +445,7 @@ void MainWindow::clearPlaylist()
     sources.clear();
     while (musicTable->rowCount())
         musicTable->removeRow(0);
+    mediaObject->clear();
 }
 
 void MainWindow::repeatToggle ()