X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fvideosourcewidget.h;h=185e615ba156930b949d42340d8d4c52f5ade304;hb=dfb52494c10b0cb7cb56eac88bb194bb6fb96418;hp=1aab7c432d292b73c464ccb42bc02e4207781924;hpb=13d3ac29c2bb5ecbdefd841462cf6433f887e7e9;p=minitube diff --git a/src/videosourcewidget.h b/src/videosourcewidget.h index 1aab7c4..185e615 100644 --- a/src/videosourcewidget.h +++ b/src/videosourcewidget.h @@ -45,14 +45,16 @@ protected: private slots: void activate(); - void previewVideo(QList videos); - void setPixmapData(QByteArray bytes); + void previewVideo(const QList &videos); + void setPixmapData(const QByteArray &bytes); private: + void loadPreview(); + QPixmap playPixmap(); VideoSource *videoSource; QPixmap pixmap; - Video *video; + qreal lastPixelRatio; };