summaryrefslogtreecommitdiffstats
path: root/juk/playlistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/playlistbox.cpp')
-rw-r--r--juk/playlistbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/juk/playlistbox.cpp b/juk/playlistbox.cpp
index 17528917..94e1cd91 100644
--- a/juk/playlistbox.cpp
+++ b/juk/playlistbox.cpp
@@ -256,13 +256,13 @@ void PlaylistBox::removePlaylist(Playlist *playlist)
void PlaylistBox::readConfig()
{
- KConfigGroup config(TDEGlobal::config(), "PlaylistBox");
+ TDEConfigGroup config(TDEGlobal::config(), "PlaylistBox");
m_viewModeIndex = config.readNumEntry("ViewMode", 0);
}
void PlaylistBox::saveConfig()
{
- KConfigGroup config(TDEGlobal::config(), "PlaylistBox");
+ TDEConfigGroup config(TDEGlobal::config(), "PlaylistBox");
config.writeEntry("ViewMode", action<KSelectAction>("viewModeMenu")->currentItem());
TDEGlobal::config()->sync();
}
@@ -672,7 +672,7 @@ void PlaylistBox::setupItem(Item *item)
void PlaylistBox::setupUpcomingPlaylist()
{
- KConfigGroup config(TDEGlobal::config(), "Playlists");
+ TDEConfigGroup config(TDEGlobal::config(), "Playlists");
bool enable = config.readBoolEntry("showUpcoming", false);
setUpcomingPlaylistEnabled(enable);