aboutsummaryrefslogtreecommitdiff
path: root/qmpchanneleditor.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-26 11:52:28 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-26 11:52:28 +0800
commit1785e14480ab00afc4309bfcfbd5b00caea8ddde (patch)
tree2dc5f70fe455afedf6393a0db2d7f09ceae1f715 /qmpchanneleditor.cpp
parentebda8030fdb70a8162c67947dd980b59337f2d05 (diff)
downloadQMidiPlayer-1785e14480ab00afc4309bfcfbd5b00caea8ddde.tar.xz
Dark Road. (WTF)
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;
}