mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Change function QETApp::elementTranslatedInfoKey
Use the function QETInformation::translatedInfoKey(const QString &info) instead of QETApp::elementTranslatedInfoKey(const QString &info). The final goal is to remove all information from the QETApp and use instea QETInformation who is dedicated to this
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "replaceadvanceddialog.h"
|
||||
#include "ui_replaceadvanceddialog.h"
|
||||
#include "qetapp.h"
|
||||
#include "qetinformation.h"
|
||||
|
||||
#include <QAbstractButton>
|
||||
|
||||
@@ -99,7 +100,7 @@ void replaceAdvancedDialog::fillWhatComboBox(int index)
|
||||
}
|
||||
else if (index == 1) {
|
||||
for (QString str : QETApp::elementInfoKeys()) {
|
||||
ui->m_what_cb->addItem(QETApp::elementTranslatedInfoKey(str), str);
|
||||
ui->m_what_cb->addItem(QETInformation::translatedInfoKey(str), str);
|
||||
}
|
||||
}
|
||||
else if (index == 2) {
|
||||
|
||||
Reference in New Issue
Block a user