From: Flavio Tordini Date: Wed, 28 Oct 2015 09:06:14 +0000 (+0100) Subject: Fix build without APP_SNAPSHOT X-Git-Tag: 2.5.1~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef3f5010a2c8f70a91f666c1a5bd1e553c51d99e;p=minitube Fix build without APP_SNAPSHOT --- 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... }