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
@@ -219,7 +219,7 @@ void TaskSelectLinkProperty::OnChange(Gui::SelectionSingleton::SubjectType &rCal
|
||||
temp += "::";
|
||||
temp += it->SubName;
|
||||
}
|
||||
new QListWidgetItem(QString::fromAscii(temp.c_str()), ui->listWidget);
|
||||
new QListWidgetItem(QString::fromLatin1(temp.c_str()), ui->listWidget);
|
||||
}
|
||||
checkSelectionStatus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user