Replace function by another one.

Replace function QETApp::elementInfoKeys() and
QETApp::elementInfoToVar(const QString &info) by function provided by
QETInformation.
This commit is contained in:
Claveau Joshua
2020-11-14 19:09:40 +01:00
parent c87fe8df2f
commit af7d1df5ab
14 changed files with 111 additions and 119 deletions

View File

@@ -73,7 +73,7 @@ void ReplaceElementDialog::buildWidget()
this->done(ui->m_button_box->buttonRole(button_));
});
for (QString str : QETApp::elementInfoKeys())
for (QString str : QETInformation::elementInfoKeys())
{
ElementInfoPartWidget *eipw = new ElementInfoPartWidget(str, QETInformation::translatedInfoKey(str), this);
eipw->setEraseTextVisible(true);