mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Remove code minium QT_VERSION 5.9
This commit is contained in:
@@ -15,10 +15,7 @@ CompositeTextEditDialog::CompositeTextEditDialog(DynamicElementTextItem *text, Q
|
||||
ui->setupUi(this);
|
||||
m_default_text = m_text->compositeText();
|
||||
ui->m_plain_text_edit->setPlainText(m_default_text);
|
||||
#if QT_VERSION >= 0x050300
|
||||
#pragma message("@TODO remove code for QT 5.3 or later")
|
||||
ui->m_plain_text_edit->setPlaceholderText(tr("Entrée votre texte composé ici, en vous aidant des variables disponible"));
|
||||
#endif
|
||||
setUpComboBox();
|
||||
}
|
||||
|
||||
@@ -29,10 +26,7 @@ CompositeTextEditDialog::CompositeTextEditDialog(QString text, QWidget *parent)
|
||||
ui->setupUi(this);
|
||||
m_default_text = std::move(text);
|
||||
ui->m_plain_text_edit->setPlainText(m_default_text);
|
||||
#if QT_VERSION >= 0x050300
|
||||
#pragma message("@TODO remove code for QT 5.3 or later")
|
||||
ui->m_plain_text_edit->setPlaceholderText(tr("Entrée votre texte composé ici, en vous aidant des variables disponible"));
|
||||
#endif
|
||||
setUpComboBox();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user