aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/bazaar/bazaarplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-06-17 06:35:31 +0200
committerhjk <hjk@qt.io>2020-06-17 05:55:25 +0000
commit1c81a3b3e887d9774cc342caafccebd7cdb90f19 (patch)
tree7008ebd0f4d8de1299dfc5d734832175d7a4624f /src/plugins/bazaar/bazaarplugin.cpp
parent6e798401a0558ad039fff62b80e97660053b60b8 (diff)
All: Use Utils::SkipEmptyParts
Task-number: QTCREATORBUG-24098 Change-Id: Iab45de9a9c17ddc39a0e343b1175d4f6cb94b098 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/bazaar/bazaarplugin.cpp')
-rw-r--r--src/plugins/bazaar/bazaarplugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp
index 0ee222b48c8..25a3cd94da7 100644
--- a/src/plugins/bazaar/bazaarplugin.cpp
+++ b/src/plugins/bazaar/bazaarplugin.cpp
@@ -54,6 +54,7 @@
#include <utils/parameteraction.h>
#include <utils/qtcassert.h>
+#include <utils/stringutils.h>
#include <vcsbase/basevcseditorfactory.h>
#include <vcsbase/basevcssubmiteditorfactory.h>
@@ -790,7 +791,7 @@ bool BazaarPluginPrivate::submitEditorAboutToClose()
//rewrite entries of the form 'file => newfile' to 'newfile' because
//this would mess the commit command
for (QStringList::iterator iFile = files.begin(); iFile != files.end(); ++iFile) {
- const QStringList parts = iFile->split(QLatin1String(" => "), QString::SkipEmptyParts);
+ const QStringList parts = iFile->split(QLatin1String(" => "), Utils::SkipEmptyParts);
if (!parts.isEmpty())
*iFile = parts.last();
}