[vlc-commits] Qt: update preferences intf preview
Francois Cartegnie
git at videolan.org
Fri May 2 12:07:59 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 2 12:07:17 2014 +0200| [1ce783daf44b5e080f90b46b17be2abb2c451c30] | committer: Francois Cartegnie
Qt: update preferences intf preview
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ce783daf44b5e080f90b46b17be2abb2c451c30
---
modules/gui/qt4/components/preferences_widgets.cpp | 3 ++-
modules/gui/qt4/pixmaps/sample_complete.png | Bin 7941 -> 6414 bytes
modules/gui/qt4/pixmaps/sample_minimal.png | Bin 3350 -> 3277 bytes
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index f7b0a53..7aff7f4 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -191,7 +191,8 @@ void InterfacePreviewWidget::setPreview( enum_style e_style )
break;
}
- setPixmap( QPixmap( pixmapLocationString ) );
+ setPixmap( QPixmap( pixmapLocationString ).
+ scaledToWidth( width(), Qt::SmoothTransformation ) );
update();
}
diff --git a/modules/gui/qt4/pixmaps/sample_complete.png b/modules/gui/qt4/pixmaps/sample_complete.png
index 3892f2a..0980cab 100644
Binary files a/modules/gui/qt4/pixmaps/sample_complete.png and b/modules/gui/qt4/pixmaps/sample_complete.png differ
diff --git a/modules/gui/qt4/pixmaps/sample_minimal.png b/modules/gui/qt4/pixmaps/sample_minimal.png
index 748c737..87bb10a 100644
Binary files a/modules/gui/qt4/pixmaps/sample_minimal.png and b/modules/gui/qt4/pixmaps/sample_minimal.png differ
More information about the vlc-commits
mailing list