[TD] Remove deprecated Qt < 5.9 code

This commit is contained in:
Chris Hennes
2021-03-31 12:03:36 -05:00
committed by wwmayer
parent 37eb08380a
commit bd86b4dcfe
7 changed files with 5 additions and 164 deletions

View File

@@ -69,11 +69,7 @@ void TemplateTextField::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
//WF: why is this escaped?
// "<" is converted elsewhere and no other characters cause problems.
// escaping causes "&" to appear as "&amp;" etc
//#if QT_VERSION >= 0x050000
// QString qsClean = ui.getFieldContent().toHtmlEscaped();
//#else
// QString qsClean = Qt::escape( ui.getFieldContent() );
//#endif
QString qsClean = ui.getFieldContent();
std::string utf8Content = qsClean.toUtf8().constData();
tmplte->EditableTexts.setValue(fieldNameStr, utf8Content);