diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-21 13:17:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-21 13:17:48 -0600 |
commit | 292e3c830032a4634f04c3095d6bfa272b65d712 (patch) | |
tree | 37d103a34c4aebbbc76243461eb29b73152a916c /certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp | |
parent | dc69027b0e7092ad69d8e58f1ee3aff22fd4d9c6 (diff) | |
download | tdepim-292e3c830032a4634f04c3095d6bfa272b65d712.tar.gz tdepim-292e3c830032a4634f04c3095d6bfa272b65d712.zip |
Fix a number of build warnings
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp')
-rw-r--r-- | certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp b/certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp index a17aca9e0..16846b59b 100644 --- a/certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp +++ b/certmanager/lib/backends/qgpgme/qgpgmerefreshkeysjob.cpp @@ -190,11 +190,14 @@ void Kleo::QGpgMERefreshKeysJob::slotProcessExited( KProcess * proc ) { if ( proc != mProcess ) return; - if ( !mError && !mPatternsToDo.empty() ) - if ( const GpgME::Error err = startAProcess() ) + if ( !mError && !mPatternsToDo.empty() ) { + if ( const GpgME::Error err = startAProcess() ) { mError = err; - else + } + else { return; + } + } emit done(); if ( !mError && |