diff options
author | Michele Calgaro <[email protected]> | 2018-11-18 00:52:08 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-11-18 02:16:34 +0100 |
commit | e8ed60163423efe3e956a7af93c8b8094d782113 (patch) | |
tree | 98e85247ec9afabee95858beca1021ed86a67c7f /certmanager/lib/ui | |
parent | f199c3d632d866f3bb9e811c3969eb6f7c426e3b (diff) | |
download | tdepim-e8ed60163423efe3e956a7af93c8b8094d782113.tar.gz tdepim-e8ed60163423efe3e956a7af93c8b8094d782113.zip |
Add missing icons for Kleopatra's GpgME backends.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit e07bf1c45ebf498c9c980aa9d2328fedeb005ac0)
Diffstat (limited to 'certmanager/lib/ui')
-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 ); |