]> git.sesse.net Git - kdenlive/commitdiff
Use audio mime icon for audio files
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 21 Jul 2008 17:34:00 +0000 (17:34 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 21 Jul 2008 17:34:00 +0000 (17:34 +0000)
svn path=/branches/KDE4/; revision=2336

src/renderer.cpp

index 540d10e092f0681896178e43515024374dd19b08..09123f99a671aac93efb019ab6b6b88ed9d9dcae 100644 (file)
@@ -551,7 +551,7 @@ void Render::getFileProperties(const QDomElement &xml, int clipId) {
             emit replyGetImage(clipId, 0, pix, width, height);
 
         } else if (frame->get_int("test_audio") == 0) {
-            QPixmap pixmap(KStandardDirs::locate("appdata", "graphics/music.png"));
+            QPixmap pixmap = KIcon("audio-x-generic").pixmap(QSize(width, height));
             emit replyGetImage(clipId, 0, pixmap, width, height);
             filePropertyMap["type"] = "audio";
         }