From b1f5eeaa8bcfb38746e7b98657d045aae8c69fe8 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 15 Aug 2012 23:40:54 +0200 Subject: [PATCH] fix compilation --without-taglib / --without-curl --- src/actions.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/actions.cpp b/src/actions.cpp index c707e7d..32bfe7f 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -2222,7 +2222,9 @@ bool RefetchLyrics::canBeRun() const void RefetchLyrics::Run() { +# ifdef HAVE_CURL_CURL_H myLyrics->Refetch(); +# endif // HAVE_CURL_CURL_H } bool RefetchArtistInfo::canBeRun() const @@ -2446,9 +2448,10 @@ bool ShowTagEditor::canBeRun() const void ShowTagEditor::Run() { +# ifdef HAVE_TAGLIB_H if (isMPDMusicDirSet()) myTagEditor->SwitchTo(); - +# endif // HAVE_TAGLIB_H } bool ShowOutputs::canBeRun() const -- 2.11.4.GIT