summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-18 00:52:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-18 00:52:08 +0900
commite07bf1c45ebf498c9c980aa9d2328fedeb005ac0 (patch)
tree1772e497ba53bd8bb7b05671fbc79530e661b652 /certmanager/lib/ui
parent4e2582d3ebe797a3054e33c6c5d7000395642f42 (diff)
downloadtdepim-e07bf1c45ebf498c9c980aa9d2328fedeb005ac0.tar.gz
tdepim-e07bf1c45ebf498c9c980aa9d2328fedeb005ac0.zip
Add missing icons for Kleopatra's GpgME backends.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'certmanager/lib/ui')
-rw-r--r--certmanager/lib/ui/cryptoconfigmodule.cpp6
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 );