summary refs log tree commit diff
path: root/include/timeline/widgets/VideoItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/timeline/widgets/VideoItem.h')
-rw-r--r--include/timeline/widgets/VideoItem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/timeline/widgets/VideoItem.h b/include/timeline/widgets/VideoItem.h
index 53c3e21a..65b87c95 100644
--- a/include/timeline/widgets/VideoItem.h
+++ b/include/timeline/widgets/VideoItem.h
@@ -37,13 +37,12 @@ public:
 
         VideoItem(QSharedPointer<MatrixClient> client,
                   const QString &url,
-                  const QSharedPointer<QIODevice> data,
                   const QString &filename,
+                  const int64_t size,
                   QWidget *parent = nullptr);
 
 private:
         void init();
-        QString calculateFileSize(int nbytes) const;
 
         QUrl url_;
         QString text_;