X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fclickable.cpp;h=1f5720ef9a66124f96f123f0e68da6543836fa44;hb=f00917808808161cc5fb01d0ac4da13ffffbffbb;hp=899277d9be16cfd559d9c310d50587a804795356;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/uisupport/clickable.cpp b/src/uisupport/clickable.cpp index 899277d9..1f5720ef 100644 --- a/src/uisupport/clickable.cpp +++ b/src/uisupport/clickable.cpp @@ -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);