From ef3f5010a2c8f70a91f666c1a5bd1e553c51d99e Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Wed, 28 Oct 2015 10:06:14 +0100 Subject: [PATCH] Fix build without APP_SNAPSHOT --- src/mediaview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mediaview.cpp b/src/mediaview.cpp index da63f68..302c77a 100644 --- a/src/mediaview.cpp +++ b/src/mediaview.cpp @@ -404,10 +404,12 @@ void MediaView::stop() { Phonon::SeekSlider *slider = MainWindow::instance()->getSeekSlider(); #endif +#ifdef APP_SNAPSHOT if (snapshotSettings) { delete snapshotSettings; snapshotSettings = 0; } +#endif } const QString & MediaView::getCurrentVideoId() { @@ -478,11 +480,13 @@ void MediaView::activeRowChanged(int row) { slider->setValue(0); #endif +#ifdef APP_SNAPSHOT if (snapshotSettings) { delete snapshotSettings; snapshotSettings = 0; MainWindow::instance()->adjustStatusBarVisibility(); } +#endif // see you in gotStreamUrl... } -- 2.39.5