diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-26 11:52:28 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-26 11:52:28 +0800 |
commit | 1785e14480ab00afc4309bfcfbd5b00caea8ddde (patch) | |
tree | 2dc5f70fe455afedf6393a0db2d7f09ceae1f715 /qmpchanneleditor.cpp | |
parent | ebda8030fdb70a8162c67947dd980b59337f2d05 (diff) | |
download | QMidiPlayer-1785e14480ab00afc4309bfcfbd5b00caea8ddde.tar.xz |
Dark Road. (WTF)
Diffstat (limited to 'qmpchanneleditor.cpp')
-rw-r--r-- | qmpchanneleditor.cpp | 5 |
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; } |