Correct "set-point" -> "setpoint" and window title setpoint change

Change 2x "set-point" to "setpoint".
Correct window title for "Add setpoint change" window.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-03-01 10:18:06 +01:00 committed by Dirk Hohndel
parent b9a3dfb86b
commit 7eda24d6b1
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Renumber</string> <string>Add setpoint change</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset> <iconset>
@ -40,7 +40,7 @@
<item> <item>
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
<string>New set-point (0 for OC)</string> <string>New setpoint (0 for OC)</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin"> <property name="leftMargin">

View file

@ -1383,7 +1383,7 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
gasChange->addAction(action); gasChange->addAction(action);
} }
} }
QAction *setpointAction = m.addAction(tr("Add set-point change"), this, SLOT(addSetpointChange())); QAction *setpointAction = m.addAction(tr("Add setpoint change"), this, SLOT(addSetpointChange()));
setpointAction->setData(event->globalPos()); setpointAction->setData(event->globalPos());
QAction *action = m.addAction(tr("Add bookmark"), this, SLOT(addBookmark())); QAction *action = m.addAction(tr("Add bookmark"), this, SLOT(addBookmark()));
action->setData(event->globalPos()); action->setData(event->globalPos());