QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
e55ba2d24d
commit
d5c074f80d
@@ -223,7 +223,7 @@ bool Tessellation::accept()
|
||||
return false;
|
||||
}
|
||||
|
||||
App::Document* activeDoc = App::GetApplication().getDocument((const char*)this->document.toAscii());
|
||||
App::Document* activeDoc = App::GetApplication().getDocument((const char*)this->document.toLatin1());
|
||||
if (!activeDoc) {
|
||||
QMessageBox::critical(this, windowTitle(),
|
||||
tr("No such document '%1'.").arg(this->document));
|
||||
|
||||
Reference in New Issue
Block a user