[vlc-devel] commit: [Qt] Use the new Frame-By-Frame icon. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Nov 15 17:43:13 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 14 17:02:42 2008 +0100| [7bac2995d7e5115a8e77f2fd925292078c3a3121] | committer: Jean-Baptiste Kempf 

[Qt] Use the new Frame-By-Frame icon.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7bac2995d7e5115a8e77f2fd925292078c3a3121
---

 modules/gui/qt4/components/controller.cpp |    2 +-
 modules/gui/qt4/vlc.qrc                   |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 94c0de4..7e0f51b 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -254,7 +254,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int* i_size,
         QToolButton *frameButton = new QToolButton;
         setupButton( frameButton );
         CONNECT_MAP_SET( frameButton, FRAME_ACTION );
-        BUTTON_SET_BAR( frameButton, "", qtr( "Frame by frame" ) );
+        BUTTON_SET_BAR( frameButton, frame, qtr( "Frame by frame" ) );
         ENABLE_ON_INPUT( frameButton );
         widget = frameButton;
         }
diff --git a/modules/gui/qt4/vlc.qrc b/modules/gui/qt4/vlc.qrc
index e437e1d..13eef1f 100644
--- a/modules/gui/qt4/vlc.qrc
+++ b/modules/gui/qt4/vlc.qrc
@@ -67,6 +67,7 @@
   <file alias="atob">pixmaps/toolbar/atob.png</file>
   <file alias="atob_noa">pixmaps/toolbar/atob_noa.png</file>
   <file alias="atob_nob">pixmaps/toolbar/atob_nob.png</file>
+  <file alias="frame">pixmaps/toolbar/frame-by-frame.png</file>
   <file alias="next">pixmaps/next_16px.png</file>
   <file alias="next_b">pixmaps/next.png</file>
   <file alias="down_arrow">pixmaps/arrow_down_dark.png</file>




More information about the vlc-devel mailing list