summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/mixdowndialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/widgets/mixdowndialog.cpp')
-rw-r--r--muse2/muse/widgets/mixdowndialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/widgets/mixdowndialog.cpp b/muse2/muse/widgets/mixdowndialog.cpp
index 1e2ecc5b..8ab26859 100644
--- a/muse2/muse/widgets/mixdowndialog.cpp
+++ b/muse2/muse/widgets/mixdowndialog.cpp
@@ -45,8 +45,8 @@ MixdownFileDialog::MixdownFileDialog(const SndFile* _sf,
case 6: channels = 2; break;
}
editPath->setText(_sf->path());
- comboChannel->setCurrentItem(channels);
- comboFormat->setCurrentItem(format);
+ comboChannel->setCurrentIndex(channels);
+ comboFormat->setCurrentIndex(format);
}
}
@@ -57,8 +57,8 @@ MixdownFileDialog::MixdownFileDialog(const SndFile* _sf,
void MixdownFileDialog::accept()
{
QString oldpath;
- unsigned channel = comboChannel->currentItem();
- unsigned format = comboFormat->currentItem();
+ unsigned channel = comboChannel->currentIndex();
+ unsigned format = comboFormat->currentIndex();
switch (channel) {
case 0: channel = 2; break;
case 1: channel = 1; break;