Commit f33f8c75 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Rolf Eike Beer
Browse files

tolerate group member ids to begin with 0x

parent 4bf291cd
/* Copyright 2008,2009,2010,2012 Rolf Eike Beer <>
/* Copyright 2008,2009,2010,2012,2016 Rolf Eike Beer <>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
......@@ -121,7 +121,10 @@ KGpgGroupNode::KGpgGroupNode(KGpgRootNode *parent, const QString &name, const QS
d_ptr(new KGpgGroupNodePrivate(name))
foreach (const QString &id, members)
new KGpgGroupMemberNode(this, id);
if (id.startsWith(QLatin1String("0x")))
new KGpgGroupMemberNode(this, id.mid(2));
new KGpgGroupMemberNode(this, id);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment