From: Flavio Tordini Date: Mon, 29 Sep 2014 14:23:11 +0000 (+0200) Subject: Removed unused preprocessor directive X-Git-Tag: 2.3~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b9e0602e8e8afd9d138801becd0903b262ec03ab;p=minitube Removed unused preprocessor directive --- diff --git a/src/mediaview.cpp b/src/mediaview.cpp index 13691a1..2279404 100644 --- a/src/mediaview.cpp +++ b/src/mediaview.cpp @@ -434,7 +434,6 @@ void MediaView::activeRowChanged(int row) { The::globalActions()->value("stopafterthis")->setEnabled(true); The::globalActions()->value("related-videos")->setEnabled(true); -#ifndef APP_NO_DOWNLOADS bool enableDownload = video->license() == Video::LicenseCC; #ifdef APP_ACTIVATION enableDownload = enableDownload || Activation::instance().isLegacy(); @@ -445,7 +444,6 @@ void MediaView::activeRowChanged(int row) { QAction *a = The::globalActions()->value("download"); a->setEnabled(enableDownload); a->setVisible(enableDownload); -#endif updateSubscriptionAction(video, YTUser::isSubscribed(video->userId()));