]> git.sesse.net Git - kdenlive/blobdiff - src/choosecolorwidget.cpp
Make parameter name visible again in color chooser widget
[kdenlive] / src / choosecolorwidget.cpp
index e65a8defb292462b99526690d09770d31e6d589e..f45fc62764d261a8557f078dbea65662e966b1d3 100644 (file)
 ChooseColorWidget::ChooseColorWidget(QString text, QColor color, QWidget *parent) :
         QWidget(parent)
 {
-    //QGroupBox *box = new QGroupBox(text, this);
-    QVBoxLayout *layout = new QVBoxLayout(this);
+    QVBoxLayout *l = new QVBoxLayout(this);
+    QGroupBox *box = new QGroupBox(text, this);
+    l->addWidget(box);
+    QVBoxLayout *layout = new QVBoxLayout(box);
 
     m_button = new KColorButton(color, this);
     ColorPickerWidget *picker = new ColorPickerWidget(this);