From: Rolf Eike Beer <kde@opensource.sf-tec.de>
Date: Sun, 04 Jan 2015 14:10:22 +0000
Subject: simplify code
X-Git-Url: http://quickgit.kde.org/?p=kgpg.git&a=commitdiff&h=
449a00b63cadbc508cd58dc44ad8a11116736fdd
---
simplify code
---
if (result != KGpgTransaction::TS_OK) {
abortOperation(result);
} else {
- bool ret = (imp->getImportedIds(0x1).count() == 1 + m_signers.count());
-
- if (!ret) {
+ if (imp->getImportedIds(0x1).count() != 1 + m_signers.count()) {
abortOperation(-1);
} else {
KGpgSignUid *signuid = new KGpgSignUid(this, m_signers.first(), m_allids.first(), false, m_checklevel);