diff options
Diffstat (limited to 'certmanager/lib/ui/cryptoconfigmodule.cpp')
-rw-r--r-- | certmanager/lib/ui/cryptoconfigmodule.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/certmanager/lib/ui/cryptoconfigmodule.cpp b/certmanager/lib/ui/cryptoconfigmodule.cpp index 944f266b4..cfe154420 100644 --- a/certmanager/lib/ui/cryptoconfigmodule.cpp +++ b/certmanager/lib/ui/cryptoconfigmodule.cpp @@ -98,7 +98,11 @@ Kleo::CryptoConfigModule::CryptoConfigModule( Kleo::CryptoConfig* config, TQWidg if ( comp->groupList().empty() ) continue; if ( face() != Plain ) { - vbox = addVBoxPage( comp->description(), TQString(), loadIcon( comp->iconName() ) ); + TQString iconName = comp->iconName(); + if (iconName == TQString::null || iconName == "") { + iconName = "gpg"; + } + vbox = addVBoxPage( comp->description(), TQString(), loadIcon(iconName) ); } TQScrollView * scrollView = new TQScrollView( vbox ); |