QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
d5c074f80d
commit
cd2db00f22
@@ -717,7 +717,7 @@ void TaskCheckGeometryResults::currentRowChanged (const QModelIndex ¤t, co
|
||||
|
||||
bool TaskCheckGeometryResults::split(QString &input, QString &doc, QString &object, QString &sub)
|
||||
{
|
||||
QStringList strings = input.split(QString::fromAscii("."));
|
||||
QStringList strings = input.split(QString::fromLatin1("."));
|
||||
if (strings.size() != 3)
|
||||
return false;
|
||||
doc = strings.at(0);
|
||||
|
||||
Reference in New Issue
Block a user