Commit 879e7bb7 authored by Stephan Kulow's avatar Stephan Kulow

wrote a script to replace KSimpleConfig

svn path=/branches/work/kconfiggroup_port/kdemultimedia/juk/; revision=634273
parent bbdf1f57
...@@ -1021,7 +1021,7 @@ void FileRenamer::setFolderIcon(const KUrl &dst, const PlaylistItem *item) ...@@ -1021,7 +1021,7 @@ void FileRenamer::setFolderIcon(const KUrl &dst, const PlaylistItem *item)
QPixmap thumb = item->file().coverInfo()->pixmap(CoverInfo::Thumbnail); QPixmap thumb = item->file().coverInfo()->pixmap(CoverInfo::Thumbnail);
thumb.save(path + "/.juk-thumbnail.png", "PNG"); thumb.save(path + "/.juk-thumbnail.png", "PNG");
KSimpleConfig config(path + "/.directory"); KConfig config(path + "/.directory", KConfig::OnlyLocal);
config.setGroup("Desktop Entry"); config.setGroup("Desktop Entry");
if(!config.hasKey("Icon")) { if(!config.hasKey("Icon")) {
......
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