mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Remove code minium QT_VERSION 5.9
This commit is contained in:
@@ -74,11 +74,8 @@ m_diagram(diagram)
|
||||
for(ElementTextItemGroup *grp : groups_list)
|
||||
setupAnimation(grp, "rotation", grp->rotation(), m_rotation);
|
||||
}
|
||||
#if QT_VERSION >= 0x050900
|
||||
else
|
||||
setObsolete(true);
|
||||
#pragma message("@TODO remove code for QT 5.9 or later")
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
@@ -133,11 +130,8 @@ void RotateTextsCommand::openDialog()
|
||||
|
||||
if (ori_text_dialog.exec() == QDialog::Accepted)
|
||||
m_rotation = ori_widget->orientation();
|
||||
#if QT_VERSION >= 0x050900
|
||||
else
|
||||
setObsolete(true);
|
||||
#pragma message("@TODO remove code for QT 5.9 or later")
|
||||
#endif
|
||||
}
|
||||
|
||||
void RotateTextsCommand::setupAnimation(QObject *target, const QByteArray &propertyName, const QVariant& start, const QVariant& end)
|
||||
|
||||
Reference in New Issue
Block a user