mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
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:
@@ -32,6 +32,7 @@
|
||||
#include "dynamicelementtextitem.h"
|
||||
#include "elementtextitemgroup.h"
|
||||
#include "QWidgetAnimation/qwidgetanimation.h"
|
||||
#include "qetinformation.h"
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
@@ -798,7 +799,7 @@ QStringList SearchAndReplaceWidget::searchTerms(Element *element)
|
||||
{
|
||||
QStringList list;
|
||||
DiagramContext context = element->elementInformations();
|
||||
for (QString key : QETApp::elementInfoKeys())
|
||||
for (QString key : QETInformation::elementInfoKeys())
|
||||
{
|
||||
QString str = context.value(key).toString();
|
||||
if (!str.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user