]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
Fix indent. Const'ref. Optimization. Clean up code
[kdenlive] / src / kthumb.h
index 961b69724457aa6297f562221264e66d191a821e..cecf58a5cba563cd1acf50eee91b97a9f0c5cc53 100644 (file)
@@ -71,7 +71,7 @@ public:
     void getGenericThumb(int frame, int height, int type);
 
 public slots:
-    void updateClipUrl(KUrl url, const QString &hash);
+    void updateClipUrl(const KUrl &url, const QString &hash);
     void slotCreateAudioThumbs();
 
 public:
@@ -109,8 +109,8 @@ private:
     QImage getProducerFrame(int framepos, int frameWidth, int displayWidth, int height);
 
 signals:
-    void thumbReady(int, QImage);
-    void mainThumbReady(const QString &, QPixmap);
+    void thumbReady(int, const QImage&);
+    void mainThumbReady(const QString &, const QPixmap&);
     void audioThumbReady(const audioByteArray&);
     /** @brief We have finished caching all requested thumbs. */
     void thumbsCached();