[vlc-commits] Qt: use QWidgetList when applicable

Jean-Baptiste Kempf git at videolan.org
Tue Aug 16 18:06:46 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 16 18:06:04 2011 +0200| [b165ab1e6f2878ec2fe059e66c6a0b524313b580] | committer: Jean-Baptiste Kempf

Qt: use QWidgetList when applicable

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

 modules/gui/qt4/components/playlist/playlist.hpp  |    2 +-
 modules/gui/qt4/components/simple_preferences.hpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist.hpp b/modules/gui/qt4/components/playlist/playlist.hpp
index bfac66b..c94a84f 100644
--- a/modules/gui/qt4/components/playlist/playlist.hpp
+++ b/modules/gui/qt4/components/playlist/playlist.hpp
@@ -130,7 +130,7 @@ private:
 
     PLModel *model;
     QSignalMapper *mapper;
-    QList<QWidget*> buttons;
+    QWidgetList buttons;
     QList<QAction*> actions;
     LocationButton *btnMore;
     QMenu *menuMore;
diff --git a/modules/gui/qt4/components/simple_preferences.hpp b/modules/gui/qt4/components/simple_preferences.hpp
index 1765247..b680790 100644
--- a/modules/gui/qt4/components/simple_preferences.hpp
+++ b/modules/gui/qt4/components/simple_preferences.hpp
@@ -119,7 +119,7 @@ private:
 
     int number;
 
-    QList<QWidget *> optionWidgets;
+    QWidgetList optionWidgets;
     QStringList qs_filter;
     QButtonGroup *radioGroup;
 



More information about the vlc-commits mailing list