QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2016-04-14 19:35:07 +02:00
committed by wmayer
parent 81b59324cd
commit 3df6064e85
4 changed files with 6 additions and 6 deletions

View File

@@ -151,7 +151,7 @@ namespace Gui
void operator()(std::ostream& out, const VertexW& vertexW) const
{
out << "[label=\"";
out << graphVW[vertexW].text->toPlainText().toAscii().data();
out << graphVW[vertexW].text->toPlainText().toLatin1().data();
out << "\"]";
}
private: