forked from qt-creator/qt-creator
Utils: Drop Utils::SkipEmptyParts again
We require Qt 5.14 nowadays. Change-Id: Iff245257d3cb19207007c0445ee13814e66152dd Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -789,7 +789,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(" => "), Utils::SkipEmptyParts);
|
||||
const QStringList parts = iFile->split(QLatin1String(" => "), Qt::SkipEmptyParts);
|
||||
if (!parts.isEmpty())
|
||||
*iFile = parts.last();
|
||||
}
|
||||
|
Reference in New Issue
Block a user