[vlc-commits] Qt: fix reordering warnings

Jean-Baptiste Kempf git at videolan.org
Sat May 14 13:06:50 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 12:56:46 2011 +0200| [70dab4d4b64b436a24d6a9a7d6f51957d6aa957f] | committer: Jean-Baptiste Kempf

Qt: fix reordering warnings

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

 modules/gui/qt4/components/interface_widgets.hpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.hpp b/modules/gui/qt4/components/interface_widgets.hpp
index dc895ec..a2ce18f 100644
--- a/modules/gui/qt4/components/interface_widgets.hpp
+++ b/modules/gui/qt4/components/interface_widgets.hpp
@@ -89,11 +89,11 @@ public:
     void setExpandstoHeight( bool b_expand ) { b_expandPixmap = b_expand; }
     void setWithArt( bool b_withart_ ) { b_withart = b_withart_; };
 private:
+    intf_thread_t *p_intf;
     QString pixmapUrl;
     bool b_expandPixmap;
     bool b_withart;
     virtual void contextMenuEvent( QContextMenuEvent *event );
-    intf_thread_t *p_intf;
 protected:
     void paintEvent( QPaintEvent *e );
     static const int MARGIN = 5;
@@ -140,9 +140,11 @@ private:
     bool b_remainingTime;
     int cachedLength;
     QTimer *bufTimer;
-    float bufVal;
+
     bool buffering;
     bool showBuffering;
+    float bufVal;
+
     char psz_length[MSTRTIME_MAX_SIZE];
     char psz_time[MSTRTIME_MAX_SIZE];
     void toggleTimeDisplay();



More information about the vlc-commits mailing list