]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
Fix audio thumbs runtime warning
[kdenlive] / src / kthumb.h
index 45eca383aec534ffadc9fcb332b9b563387cd923..8214625bbb2e54d4ebab3d922f3e7484833422f6 100644 (file)
@@ -49,6 +49,8 @@ class Profile;
 
 class ClipManager;
 
+typedef QMap <int, QMap <int, QByteArray> > audioByteArray;
+
 class KThumb: public QObject
 {
 Q_OBJECT public:
@@ -124,7 +126,7 @@ private:
 signals:
     void thumbReady(int, QImage);
     void mainThumbReady(const QString &, QPixmap);
-    void audioThumbReady(QMap <int, QMap <int, QByteArray> >);
+    void audioThumbReady(const audioByteArray&);
     /** @brief We have finished caching all requested thumbs. */
     void thumbsCached();
 };