]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/toolbar.hpp
qt4: attempt to work around a design flaw in the toolbar editor
[vlc] / modules / gui / qt4 / dialogs / toolbar.hpp
index 12b419c4cc3cb4e6c8eb5d6a38e9d9f9788566f4..52f4241eff32bd2bf61935fd647299d3f4b9908d 100644 (file)
@@ -49,7 +49,7 @@ class QComboBox;
 
 class WidgetListing : public QListWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
     WidgetListing( intf_thread_t *, QWidget *_parent = 0 );
 protected:
@@ -60,7 +60,7 @@ private:
 
 class ToolbarEditDialog : public QVLCDialog
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
     ToolbarEditDialog( QWidget *, intf_thread_t * );
     int getOptions() { return flatBox->isChecked() * WIDGET_FLAT +
@@ -86,7 +86,7 @@ private slots:
 
 class DroppingController: public AbstractController
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
     DroppingController( intf_thread_t *, const QString& line, QWidget *parent = 0 );
     QString getValue();
@@ -112,6 +112,7 @@ private:
     };
     QRubberBand *rubberband;
     QList <doubleInt *> widgetList;
+    int i_dragIndex;
 
     int getParentPosInLayout( QPoint point);