[GUI] Remove code for Qt < 5.9

This commit is contained in:
Chris Hennes
2021-03-30 15:38:26 -05:00
committed by wmayer
parent 67d26939dc
commit 50c7ee36bf
57 changed files with 19 additions and 686 deletions

View File

@@ -65,11 +65,7 @@ DlgExpressionInput::DlgExpressionInput(const App::ObjectIdentifier & _path,
}
else {
QVariant text = parent->property("text");
#if QT_VERSION >= 0x050000
if (text.canConvert(QMetaType::QString)) {
#else
if (text.canConvert(QVariant::String)) {
#endif
ui->expression->setText(text.toString());
}
}