diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 11:47:15 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 11:47:15 +0000 |
commit | 1e2c10156202d4b50df409a1930adc3f151e44dc (patch) | |
tree | bb6c040e4c80d73ec50d6eb7dc3ce38ffe832a2a /muse2/muse/widgets/mixdowndialog.cpp | |
parent | c2adb2d1ec669182b127c1414ac0583a4e9c9386 (diff) |
converted Qt3 methods to Qt4. Cleaned up app.* includes a bit.
Diffstat (limited to 'muse2/muse/widgets/mixdowndialog.cpp')
-rw-r--r-- | muse2/muse/widgets/mixdowndialog.cpp | 8 |
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; |