summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/completer/mainwindow.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2015-02-13 22:25:45 +0100
committerKonstantin Ritt <ritt.ks@gmail.com>2015-02-15 03:50:26 +0000
commitdbd21d087954bef315f8ec60535aa81b94680c22 (patch)
tree2d89999e933c6ba21c63de414693dc395466afc5 /examples/widgets/tools/completer/mainwindow.cpp
parentce86d7385090746c3baf2991dd1cacb911ff6d88 (diff)
QTextLayout: Reserve space ahead of time.
We know the size, so use it instead of allowing QVector to reallocate. Change-Id: I2d18c30ef0d050326bb03c54da61459c40eb7af6 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'examples/widgets/tools/completer/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions