diff options
Diffstat (limited to 'qmidiplayer-desktop/qmppresetselect.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmppresetselect.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/qmidiplayer-desktop/qmppresetselect.cpp b/qmidiplayer-desktop/qmppresetselect.cpp index 8ad05a3..1eb5282 100644 --- a/qmidiplayer-desktop/qmppresetselect.cpp +++ b/qmidiplayer-desktop/qmppresetselect.cpp @@ -16,15 +16,6 @@ qmpPresetSelector::~qmpPresetSelector() delete ui; } -void qmpPresetSelector::showEvent(QShowEvent *e) -{ - memset(presets, 0, sizeof(presets)); - if (!qmpMainWindow::getInstance()->getFluid()->getSFCount()) - return e->ignore(); - ui->lwBankSelect->clear(); - ui->lwPresetSelect->clear(); - e->accept(); -} void qmpPresetSelector::setupWindow(int chid) { CMidiPlayer *plyr = qmpMainWindow::getInstance()->getPlayer(); |