forked from qt-creator/qt-creator
Use Qt::SkipEmptyParts unconditionally
Squashes a warning in qmldebugtranslationwidget and is safe to use with Qt 5.14. Change-Id: I1912e7379a570a17fbf057b87390a63d524ced49 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -391,7 +391,7 @@ void QmlDebugTranslationWidget::saveLogToFile()
|
||||
void QmlDebugTranslationWidget::appendMessage(const QString &message, Utils::OutputFormat format)
|
||||
{
|
||||
const auto newLine = QRegularExpression("[\r\n]");
|
||||
const auto messages = message.split(newLine, QString::SkipEmptyParts);
|
||||
const auto messages = message.split(newLine, Qt::SkipEmptyParts);
|
||||
|
||||
if (messages.count() > 1) {
|
||||
for (auto m : messages)
|
||||
|
||||
Reference in New Issue
Block a user