diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-23 23:50:31 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-23 23:50:31 +0800 |
commit | aa8af83ff8889aa136e9152b2cca9a88d99c5f47 (patch) | |
tree | 54af0c407c08d86c1fbf5e5856ee66c4f80e1b0b /qmidiplayer-desktop/qmpmainwindow.cpp | |
parent | 446263beafeafa831530a6f9711aa891955b7db3 (diff) | |
download | QMidiPlayer-aa8af83ff8889aa136e9152b2cca9a88d99c5f47.tar.xz |
Add stubs for plugin support.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 73c2895..84697a4 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -49,7 +49,7 @@ qmpMainWindow::qmpMainWindow(QWidget *parent) : ui->lnPolyphone->display("00000-00000"); ui->lbFileName->setText("");ref=this; playing=false;stopped=true;dragging=false; - settingsw=new qmpSettingsWindow(this); + settingsw=new qmpSettingsWindow(this);pmgr=new qmpPluginManager(); plistw=new qmpPlistWindow(this);player=NULL;timer=NULL; singleFS=qmpSettingsWindow::getSettingsIntf()->value("Behavior/SingleInstance",0).toInt(); } @@ -58,7 +58,7 @@ qmpMainWindow::~qmpMainWindow() { if(player)delete player; if(timer)delete timer; - delete ui; + delete pmgr;delete ui; } void qmpMainWindow::init() |