diff options
Diffstat (limited to 'src/gui/studio/BankEditorDialog.cpp')
-rw-r--r-- | src/gui/studio/BankEditorDialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/studio/BankEditorDialog.cpp b/src/gui/studio/BankEditorDialog.cpp index 6103652..518260d 100644 --- a/src/gui/studio/BankEditorDialog.cpp +++ b/src/gui/studio/BankEditorDialog.cpp @@ -78,10 +78,10 @@ namespace Rosegarden { -BankEditorDialog::BankEditorDialog(TQWidget *tqparent, +BankEditorDialog::BankEditorDialog(TQWidget *parent, RosegardenGUIDoc *doc, DeviceId defaultDevice): - KMainWindow(tqparent, "bankeditordialog"), + KMainWindow(parent, "bankeditordialog"), m_studio(&doc->getStudio()), m_doc(doc), m_copyBank(Device::NO_DEVICE, -1), @@ -968,15 +968,15 @@ BankEditorDialog::getParentDeviceItem(TQListViewItem* item) return 0; if (dynamic_cast<MidiBankListViewItem*>(item)) - // go up to the tqparent device item - item = item->tqparent(); + // go up to the parent device item + item = item->parent(); if (dynamic_cast<MidiKeyMapListViewItem*>(item)) - // go up to the tqparent device item - item = item->tqparent(); + // go up to the parent device item + item = item->parent(); if (!item) { - RG_DEBUG << "BankEditorDialog::getParentDeviceItem : missing tqparent device item for bank item - this SHOULD NOT HAPPEN" << endl; + RG_DEBUG << "BankEditorDialog::getParentDeviceItem : missing parent device item for bank item - this SHOULD NOT HAPPEN" << endl; return 0; } |