Add a stop button
[groove] / splayer.cpp
index 1c6e8ce..0509b3e 100644 (file)
@@ -73,6 +73,11 @@ void sPlayer::start()
         media->play();
     }*/
 }
+void sPlayer::stop()
+{
+    media->stop();
+}
+
 void sPlayer::putb(qint64 b, qint64 t)
 {
     //qDebug() << "Download: " << b << "Total: " << t;