forked from qt-creator/qt-creator
All: Use Utils::SkipEmptyParts
Task-number: QTCREATORBUG-24098 Change-Id: Iab45de9a9c17ddc39a0e343b1175d4f6cb94b098 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "serializer.h"
|
||||
|
||||
#include <utils/stringutils.h>
|
||||
|
||||
using namespace ScxmlEditor::PluginInterface;
|
||||
|
||||
Serializer::Serializer()
|
||||
@@ -106,7 +108,7 @@ void Serializer::read(QPoint &d)
|
||||
|
||||
void Serializer::setData(const QString &d)
|
||||
{
|
||||
m_data = d.split(m_separator, QString::SkipEmptyParts);
|
||||
m_data = d.split(m_separator, Utils::SkipEmptyParts);
|
||||
m_index = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user