aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-10-25 18:23:38 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-10-25 18:23:38 -0400
commit1e4bb99764f6012260adb4192604a392bd62bf0a (patch)
treed04f237871ae2cf234f4219c422d889d0f1aa113 /src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp
parentFixed image previews with video thumbnails (diff)
downloadlumina-1e4bb99764f6012260adb4192604a392bd62bf0a.tar.gz
lumina-1e4bb99764f6012260adb4192604a392bd62bf0a.tar.bz2
lumina-1e4bb99764f6012260adb4192604a392bd62bf0a.zip
Fixed issues with previews and LVideoWidget sizing
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp
index fb55ad99..c712afed 100644
--- a/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-fileinfo/MainUI.cpp
@@ -88,7 +88,7 @@ void MainUI::LoadFile(QString path, QString type){
ui->label_file_size->setText( ui->label_file_size->text()+" ("+QString::number(pix.width())+" x "+QString::number(pix.height())+" px)" );
}else if(INFO->isVideo()){
ui->label_file_icon->hide();
- LVideoLabel *mediaLabel = new LVideoLabel(INFO->absoluteFilePath(), ui->tab_file);
+ LVideoLabel *mediaLabel = new LVideoLabel(INFO->absoluteFilePath(), true, ui->tab_file);
mediaLabel->setFixedSize(64,64);
ui->formLayout->replaceWidget(ui->label_file_icon, mediaLabel);
}else{
bgstack15