]> git.sesse.net Git - kdenlive/commitdiff
Hide autoplay when using openclipart service
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 30 Dec 2011 09:41:25 +0000 (10:41 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 30 Dec 2011 09:41:25 +0000 (10:41 +0100)
src/utils/freesound.cpp

index d2039be534853ad634bcaf4fb7b72c67a5d4d65a..542549fdc67620d87d5a088b99e07da786a4334d 100644 (file)
@@ -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();