aboutsummaryrefslogtreecommitdiff
path: root/qmpchanneleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmpchanneleditor.cpp')
-rw-r--r--qmpchanneleditor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qmpchanneleditor.cpp b/qmpchanneleditor.cpp
index ac1d8fe..f1d4e5e 100644
--- a/qmpchanneleditor.cpp
+++ b/qmpchanneleditor.cpp
@@ -8,10 +8,15 @@ qmpChannelEditor::qmpChannelEditor(QWidget *parent) :
ui(new Ui::qmpChannelEditor)
{
ui->setupUi(this);
+ styl=new QDialSkulptureStyle();
+ QList<QDial*> dials=findChildren<QDial*>();
+ for(int i=0;i<dials.count();++i)
+ dials.at(i)->setStyle(styl);
}
qmpChannelEditor::~qmpChannelEditor()
{
+ delete styl;
delete ui;
}