summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/BankEditorDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/BankEditorDialog.cpp')
-rw-r--r--src/gui/studio/BankEditorDialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/studio/BankEditorDialog.cpp b/src/gui/studio/BankEditorDialog.cpp
index b0bbba5..fa88568 100644
--- a/src/gui/studio/BankEditorDialog.cpp
+++ b/src/gui/studio/BankEditorDialog.cpp
@@ -593,7 +593,7 @@ BankEditorDialog::updateDeviceItem(MidiDeviceListViewItem* deviceItem)
// delete banks which are no longer present
//
- std::vector<TQListViewItem*> tqchildrenToDelete;
+ std::vector<TQListViewItem*> childrenToDelete;
TQListViewItem* child = deviceItem->firstChild();
@@ -603,7 +603,7 @@ BankEditorDialog::updateDeviceItem(MidiDeviceListViewItem* deviceItem)
dynamic_cast<MidiBankListViewItem *>(child);
if (bankItem) {
if (bankItem->getBank() >= int(banks.size()))
- tqchildrenToDelete.push_back(child);
+ childrenToDelete.push_back(child);
else { // update the banks MSB/LSB which might have changed
bankItem->setPercussion(banks[bankItem->getBank()].isPercussion());
bankItem->setMSB(banks[bankItem->getBank()].getMSB());
@@ -615,15 +615,15 @@ BankEditorDialog::updateDeviceItem(MidiDeviceListViewItem* deviceItem)
dynamic_cast<MidiKeyMapListViewItem *>(child);
if (keyItem) {
if (!midiDevice->getKeyMappingByName(qstrtostr(keyItem->getName()))) {
- tqchildrenToDelete.push_back(child);
+ childrenToDelete.push_back(child);
}
}
child = child->nextSibling();
}
- for (unsigned int i = 0; i < tqchildrenToDelete.size(); ++i)
- delete tqchildrenToDelete[i];
+ for (unsigned int i = 0; i < childrenToDelete.size(); ++i)
+ delete childrenToDelete[i];
}
bool
@@ -1045,7 +1045,7 @@ BankEditorDialog::slotAddKeyMapping()
if (n == 1)
name = i18n("<new mapping>");
else
- name = i18n("<new mapping %1>").tqarg(n);
+ name = i18n("<new mapping %1>").arg(n);
}
MidiKeyMapping newKeyMapping(qstrtostr(name));