]> git.sesse.net Git - kdenlive/blobdiff - thumbnailer/westleypreview.h
cleanup thumbnailer (remove QPixmap usage)
[kdenlive] / thumbnailer / westleypreview.h
index 76209c595da98943c035e0800db118842fc80c35..79820accb33e5c7df5a708c8811b1d9f80142267 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <qstring.h>
 
-#include <qpixmap.h>
 #include <kio/thumbcreator.h>
 #include <qobject.h>
 
@@ -45,11 +44,10 @@ public:
     virtual Flags flags() const;
 
 protected:
-    QPixmap getFrame(const QString &path);
+    QImage getFrame(const QString &path);
     static uint imageVariance(QImage image);
 
 private:
-    QPixmap m_pixmap;
     QProcess *m_inigoprocess;
     QStringList customargs;
     KRandomSequence *m_rand;