Commit 87de4de6 authored by Stephan Kulow's avatar Stephan Kulow
Browse files

replacing deprecated functions

svn path=/trunk/KDE/kdemultimedia/libkcddb/; revision=563503
parent 5498e096
......@@ -42,9 +42,9 @@ namespace KCDDB
setupUi(this);
m_categories = KCDDB::Categories();
m_category->insertStringList(m_categories.i18nList());
m_category->addItems(m_categories.i18nList());
m_genres = KCDDB::Genres();
m_genre->insertStringList(m_genres.i18nList());
m_genre->addItems(m_genres.i18nList());
m_trackList->addColumn(i18n("Track"));
m_trackList->addColumn(i18n("Length"));
......
......@@ -35,7 +35,7 @@ namespace KCDDB
{
setupUi(this);
encodingCombo->insertStringList(KGlobal::charsets()->descriptiveEncodingNames());
encodingCombo->addItems(KGlobal::charsets()->descriptiveEncodingNames());
slotEncodingChanged(encodingCombo->currentText());
......
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