X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fclickable.cpp;h=1f5720ef9a66124f96f123f0e68da6543836fa44;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hp=5364a706e6ca634a3f5f8612ff8c17f9a748edeb;hpb=1cb02004ee5973b89368bd84f234d4652794690d;p=quassel.git diff --git a/src/uisupport/clickable.cpp b/src/uisupport/clickable.cpp index 5364a706..1f5720ef 100644 --- a/src/uisupport/clickable.cpp +++ b/src/uisupport/clickable.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -110,7 +110,7 @@ ClickableList ClickableList::fromString(const QString &str) if (QRegExp("^#\\d+$").exactMatch(match)) continue; } - result.append(Clickable((Clickable::Type)type, matches[type], matchEnd[type] - matches[type])); + result.emplace_back((Clickable::Type)type, matches[type], matchEnd[type] - matches[type]); } } while (type >= 0);