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
596155061f
commit
a8d37dabbe
@@ -33,7 +33,7 @@
|
||||
using namespace Gui;
|
||||
using namespace DAG;
|
||||
|
||||
FilterBase::FilterBase() : name(QString::fromAscii("empty name")), enabled(true), type(Type::Exclusion)
|
||||
FilterBase::FilterBase() : name(QString::fromLatin1("empty name")), enabled(true), type(Type::Exclusion)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -856,7 +856,7 @@ void Model::updateStates()
|
||||
else
|
||||
(*theGraph)[currentVertex].stateIcon->setPixmap(pendingPixmap);
|
||||
}
|
||||
(*theGraph)[currentVertex].stateIcon->setToolTip(QString::fromAscii(record.DObject->getStatusString()));
|
||||
(*theGraph)[currentVertex].stateIcon->setToolTip(QString::fromLatin1(record.DObject->getStatusString()));
|
||||
(*theGraph)[currentVertex].lastFeatureState = currentFeatureState;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user