aboutsummaryrefslogtreecommitdiff
path: root/qmpefxwindow.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 /qmpefxwindow.cpp
parentebda8030fdb70a8162c67947dd980b59337f2d05 (diff)
downloadQMidiPlayer-1785e14480ab00afc4309bfcfbd5b00caea8ddde.tar.xz
Dark Road. (WTF)
Diffstat (limited to 'qmpefxwindow.cpp')
-rw-r--r--qmpefxwindow.cpp5
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;
}