Commit ba695602 authored by Stephan Kulow's avatar Stephan Kulow

replaced deprecated functions

svn path=/trunk/KDE/kdemultimedia/juk/; revision=563677
parent 77ea961b
......@@ -74,7 +74,7 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
combo->addItem(i18n("Medium"));
combo->addItem(i18n("Large"));
combo->addItem(i18n("Very Large"));
combo->setCurrentItem(0);
combo->setCurrentIndex(0);
connect(combo, SIGNAL(activated(int)), this, SLOT(imgSizeChanged(int)));
imgSize->adjustSize();
......
......@@ -257,9 +257,9 @@ void TagEditor::slotRefresh()
m_lengthBox->setText(tag->lengthString());
if(m_genreList.findIndex(tag->genre()) >= 0)
m_genreBox->setCurrentItem(m_genreList.findIndex(tag->genre()) + 1);
m_genreBox->setCurrentIndex(m_genreList.findIndex(tag->genre()) + 1);
else {
m_genreBox->setCurrentItem(0);
m_genreBox->setCurrentIndex(0);
m_genreBox->setEditText(tag->genre());
}
......@@ -375,7 +375,7 @@ void TagEditor::slotClear()
m_artistNameBox->lineEdit()->clear();
m_trackNameBox->clear();
m_albumNameBox->lineEdit()->clear();
m_genreBox->setCurrentItem(0);
m_genreBox->setCurrentIndex(0);
m_fileNameBox->clear();
m_trackSpin->setValue(0);
m_yearSpin->setValue(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment