diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 18:11:13 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 18:11:13 -0500 |
commit | 19eeb7315f0e5fbeb76d673741dac7b69cb18bd8 (patch) | |
tree | b90e9690e023d9b7b3a585de912ee58c20be38c8 /kcontrol | |
parent | 2bb42a9cbc87625516304215e4aae273f3439382 (diff) | |
download | tdebase-19eeb7315f0e5fbeb76d673741dac7b69cb18bd8.tar.gz tdebase-19eeb7315f0e5fbeb76d673741dac7b69cb18bd8.zip |
Fix ugly missing folder icon in kcontrol peripherals page
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/kcontrol/aboutwidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kcontrol/kcontrol/aboutwidget.cpp b/kcontrol/kcontrol/aboutwidget.cpp index b37ff2802..c1ba4fecf 100644 --- a/kcontrol/kcontrol/aboutwidget.cpp +++ b/kcontrol/kcontrol/aboutwidget.cpp @@ -173,7 +173,7 @@ void AboutWidget::updatePixmap() szComment = module->comment(); iconPath = loader->iconPath( module->icon(), TDEIcon::Small ); - content += "<img src=\"" + iconPath +" \"</a> <a href=\"%1\" class=\"kcm_link\">" + szName + "</a></td><td class=\"kc_rightcol\">" + szComment; + content += "<img src=\"" + iconPath +" \"</img> <a href=\"%1\" class=\"kcm_link\">" + szName + "</a></td><td class=\"kc_rightcol\">" + szComment; KURL moduleURL( TQString("kcm://%1").arg(TQString().sprintf("%p",module)) ); TQString linkURL( moduleURL.url() ); content = content.arg( linkURL ); @@ -182,7 +182,8 @@ void AboutWidget::updatePixmap() else { szName = static_cast<ModuleTreeItem*>(pEntry)->caption(); - content += szName + "</td><td class=\"kc_rightcol\">" + szName; + iconPath = loader->iconPath( "folder", TDEIcon::Small ); + content += "<img src=\"" + iconPath +" \"</img> " + szName + "</td><td class=\"kc_rightcol\">" + szName; } content += "</td></tr>\n"; pEntry = pEntry->nextSibling(); |