From b9e0602e8e8afd9d138801becd0903b262ec03ab Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Mon, 29 Sep 2014 16:23:11 +0200 Subject: [PATCH] Removed unused preprocessor directive --- src/mediaview.cpp | 2 -- 1 file changed, 2 deletions(-) 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())); -- 2.39.5