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 /qmpefxwindow.cpp | |
parent | ebda8030fdb70a8162c67947dd980b59337f2d05 (diff) | |
download | QMidiPlayer-1785e14480ab00afc4309bfcfbd5b00caea8ddde.tar.xz |
Dark Road. (WTF)
Diffstat (limited to 'qmpefxwindow.cpp')
-rw-r--r-- | qmpefxwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qmpefxwindow.cpp b/qmpefxwindow.cpp index 8e60d93..7d9c08e 100644 --- a/qmpefxwindow.cpp +++ b/qmpefxwindow.cpp @@ -8,6 +8,10 @@ qmpEfxWindow::qmpEfxWindow(QWidget *parent) : ui(new Ui::qmpEfxWindow) { ui->setupUi(this);initialized=false; + styl=new QDialSkulptureStyle(); + QList<QDial*> dials=findChildren<QDial*>(); + for(int i=0;i<dials.count();++i) + dials.at(i)->setStyle(styl); connect(this,SIGNAL(dialogClosing()),parent,SLOT(dialogClosed())); //stub. read these from settings after the setting module is implemented QSettings *settings=qmpSettingsWindow::getSettingsIntf(); @@ -27,6 +31,7 @@ qmpEfxWindow::qmpEfxWindow(QWidget *parent) : qmpEfxWindow::~qmpEfxWindow() { + delete styl; delete ui; } |