From 19eeb7315f0e5fbeb76d673741dac7b69cb18bd8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 11 Oct 2014 18:11:13 -0500 Subject: [PATCH] Fix ugly missing folder icon in kcontrol peripherals page --- kcontrol/kcontrol/aboutwidget.cpp | 5 +++-- 1 file 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 += " " + szName + "" + szComment; + content += " " + szName + "" + 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(pEntry)->caption(); - content += szName + "" + szName; + iconPath = loader->iconPath( "folder", TDEIcon::Small ); + content += " " + szName + "" + szName; } content += "\n"; pEntry = pEntry->nextSibling();