Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit d0f618a5 authored by Stephan Kulow's avatar Stephan Kulow

more script porting

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