projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uisupport: Let ClickableList inherit from std::vector instead of QList
[quassel.git]
/
src
/
uisupport
/
clickable.cpp
diff --git
a/src/uisupport/clickable.cpp
b/src/uisupport/clickable.cpp
index
899277d
..
1f5720e
100644
(file)
--- 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;
}
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);
}
}
while (type >= 0);