diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-11-28 02:49:05 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-11-28 02:49:05 +0000 |
commit | 24fe49ade1524c1c2b4a6e97d7281457ece4912c (patch) | |
tree | 6e5fcccfc17f647ecfcb97c5192e6a53f838ad13 /muse2/muse/dssihost.cpp | |
parent | 460049b88bcd2aa374895a0fdaac2608f25418a8 (diff) |
See ChangeLog
Diffstat (limited to 'muse2/muse/dssihost.cpp')
-rw-r--r-- | muse2/muse/dssihost.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/muse2/muse/dssihost.cpp b/muse2/muse/dssihost.cpp index 3a3c55f1..93ede9bd 100644 --- a/muse2/muse/dssihost.cpp +++ b/muse2/muse/dssihost.cpp @@ -37,7 +37,7 @@ #include <qdir.h> //#include <qstringlist.h> #include <QFileInfo> -#include <q3popupmenu.h> +#include <QMenu> //#include <qprocess.h> #include "dssihost.h" @@ -2870,7 +2870,7 @@ const char* DssiSynthIF::getPatchName(int /*chan*/, int prog, MType /*type*/, bo //--------------------------------------------------------- //void DssiSynthIF::populatePatchPopup(QMenu* menu, int) -void DssiSynthIF::populatePatchPopup(Q3PopupMenu* menu, int /*ch*/, MType /*type*/, bool /*drum*/) +void DssiSynthIF::populatePatchPopup(QMenu* menu, int /*ch*/, MType /*type*/, bool /*drum*/) { // The plugin can change the programs, patches etc. // So make sure we're up to date by calling queryPrograms. @@ -2884,9 +2884,8 @@ void DssiSynthIF::populatePatchPopup(Q3PopupMenu* menu, int /*ch*/, MType /*type int prog = i->Program; int id = (bank << 16) + prog; - //QAction* a = menu->addAction(QString(i->Name)); - //a->setData(id); - menu->insertItem(QString(i->Name), id); + QAction *act = menu->addAction(QString(i->Name)); + act->setData(id); } } |