From 86c076b216a77db8ac8900086d0579a27f0ca490 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Fri, 30 Dec 2011 10:41:25 +0100 Subject: [PATCH] Hide autoplay when using openclipart service --- src/utils/freesound.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/freesound.cpp b/src/utils/freesound.cpp index d2039be5..542549fd 100644 --- a/src/utils/freesound.cpp +++ b/src/utils/freesound.cpp @@ -285,11 +285,13 @@ void FreeSound::slotChangeService() button_preview->setVisible(true); duration_label->setVisible(true); search_info->setVisible(true); + sound_autoplay->setVisible(true); } else if (m_service == OPENCLIPART) { button_preview->setVisible(false); duration_label->setVisible(false); search_info->setVisible(false); + sound_autoplay->setVisible(false); sound_duration->setText(QString()); } if (!search_text->text().isEmpty()) slotStartSearch(); -- 2.39.5