summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-08-25 07:04:02 +0200
committerMontel Laurent <[email protected]>2015-08-25 07:04:02 +0200
commit9794c508d93842b0da3ca77146ad29f000536527 (patch)
treec93abf0f2a397a5b1119067e9b5dc8789f53397e
parentfdcb24e1c79294237d106b6ba94f0254c39b5f5a (diff)
Fix logic
-rw-r--r--kleopatra/models/useridlistmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kleopatra/models/useridlistmodel.cpp b/kleopatra/models/useridlistmodel.cpp
index a7d41c1..7c0b39a 100644
--- a/kleopatra/models/useridlistmodel.cpp
+++ b/kleopatra/models/useridlistmodel.cpp
@@ -57,7 +57,7 @@ namespace
static inline bool is_userid_level(const QModelIndex &idx)
{
- return idx.isValid() && idx.internalId() < 0 ;
+ return idx.isValid()/* && idx.internalId() < 0 */;
}
static inline int extract_uid_number(const QModelIndex &idx)
@@ -67,7 +67,7 @@ static inline int extract_uid_number(const QModelIndex &idx)
static inline bool is_signature_level(const QModelIndex &idx)
{
- return idx.isValid() && idx.internalId() >= 0 ;
+ return idx.isValid()/* && idx.internalId() >= 0*/ ;
}
}