summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 18:11:13 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 18:11:13 -0500
commit19eeb7315f0e5fbeb76d673741dac7b69cb18bd8 (patch)
treeb90e9690e023d9b7b3a585de912ee58c20be38c8
parent2bb42a9cbc87625516304215e4aae273f3439382 (diff)
downloadtdebase-19eeb7315f0e5fbeb76d673741dac7b69cb18bd8.tar.gz
tdebase-19eeb7315f0e5fbeb76d673741dac7b69cb18bd8.zip
Fix ugly missing folder icon in kcontrol peripherals page
-rw-r--r--kcontrol/kcontrol/aboutwidget.cpp5
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>&nbsp;<a href=\"%1\" class=\"kcm_link\">" + szName + "</a></td><td class=\"kc_rightcol\">" + szComment;
+ content += "<img src=\"" + iconPath +" \"</img>&nbsp;<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>&nbsp;" + szName + "</td><td class=\"kc_rightcol\">" + szName;
}
content += "</td></tr>\n";
pEntry = pEntry->nextSibling();