X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickable.cpp;h=1f5720ef9a66124f96f123f0e68da6543836fa44;hp=3b32f267960dc64b868246db80e6c474f879ce73;hb=f00917808808161cc5fb01d0ac4da13ffffbffbb;hpb=c1559056803360cc528c578e3458a0bae33bd56c diff --git a/src/uisupport/clickable.cpp b/src/uisupport/clickable.cpp index 3b32f267..1f5720ef 100644 --- a/src/uisupport/clickable.cpp +++ b/src/uisupport/clickable.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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);