summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/uilib/formbuilderextra.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-23 13:30:28 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-11-23 12:47:17 +0000
commit7561e9b64aeb649ffb3d091b1bf615efff56c730 (patch)
tree1a5fe6ade7c19756a84023c8e083c47902fe34f8 /src/designer/src/lib/uilib/formbuilderextra.cpp
parentfc8b7d36291611aebdc344f2e26a992da0003bbc (diff)
downloadqttools-7561e9b64aeb649ffb3d091b1bf615efff56c730.tar.gz
Qt Designer: Use QString::splitRef()
Avoid creating QStringLists with split() where possible. Change-Id: I7c62a4018697b8f10b3eb455b5a37f6592621206 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/designer/src/lib/uilib/formbuilderextra.cpp')
-rw-r--r--src/designer/src/lib/uilib/formbuilderextra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/uilib/formbuilderextra.cpp b/src/designer/src/lib/uilib/formbuilderextra.cpp
index b866c3631..cb963393e 100644
--- a/src/designer/src/lib/uilib/formbuilderextra.cpp
+++ b/src/designer/src/lib/uilib/formbuilderextra.cpp
@@ -300,7 +300,7 @@ inline bool parsePerCellProperty(Layout *l, int count, void (Layout::*setter)(in
clearPerCellValue(l, count, setter, defaultValue);
return true;
}
- const QStringList list = s.split(QLatin1Char(','));
+ const QVector<QStringRef> list = s.splitRef(QLatin1Char(','));
if (list.empty()) {
clearPerCellValue(l, count, setter, defaultValue);
return true;