]> git.sesse.net Git - pkanalytics/blobdiff - video_widget.h
Fix a crash on exit.
[pkanalytics] / video_widget.h
index 4361d3098c8f3fd2d6414d69ebd868f32a3f2ed6..b97be69e753ed92fb1ffc353dec47cfbe9b402f4 100644 (file)
@@ -26,7 +26,7 @@ class VideoWidget : public QWidget {
 
 public:
        VideoWidget(QWidget *parent);
-       ~VideoWidget() { stop(); }
+       ~VideoWidget();
 
        bool open(const std::string &filename);  // False on error.
        void play();