mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Code cleanup: Correct typo "Swith" to "Switch"
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
b9318a9ab1
commit
c734a77cf5
2 changed files with 5 additions and 5 deletions
|
@ -1437,21 +1437,21 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
|
||||||
if (divemode != OC) {
|
if (divemode != OC) {
|
||||||
QAction *action = new QAction(&m);
|
QAction *action = new QAction(&m);
|
||||||
action->setText(divemode_text_ui[OC]);
|
action->setText(divemode_text_ui[OC]);
|
||||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwith()));
|
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwitch()));
|
||||||
action->setData(event->globalPos());
|
action->setData(event->globalPos());
|
||||||
changeMode->addAction(action);
|
changeMode->addAction(action);
|
||||||
}
|
}
|
||||||
if (divemode != CCR) {
|
if (divemode != CCR) {
|
||||||
QAction *action = new QAction(&m);
|
QAction *action = new QAction(&m);
|
||||||
action->setText(divemode_text_ui[CCR]);
|
action->setText(divemode_text_ui[CCR]);
|
||||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwith()));
|
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwitch()));
|
||||||
action->setData(event->globalPos());
|
action->setData(event->globalPos());
|
||||||
changeMode->addAction(action);
|
changeMode->addAction(action);
|
||||||
}
|
}
|
||||||
if (divemode != PSCR) {
|
if (divemode != PSCR) {
|
||||||
QAction *action = new QAction(&m);
|
QAction *action = new QAction(&m);
|
||||||
action->setText(divemode_text_ui[PSCR]);
|
action->setText(divemode_text_ui[PSCR]);
|
||||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwith()));
|
connect(action, SIGNAL(triggered(bool)), this, SLOT(addDivemodeSwitch()));
|
||||||
action->setData(event->globalPos());
|
action->setData(event->globalPos());
|
||||||
changeMode->addAction(action);
|
changeMode->addAction(action);
|
||||||
}
|
}
|
||||||
|
@ -1616,7 +1616,7 @@ void ProfileWidget2::addBookmark()
|
||||||
replot();
|
replot();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfileWidget2::addDivemodeSwith()
|
void ProfileWidget2::addDivemodeSwitch()
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
QAction *action = qobject_cast<QAction *>(sender());
|
QAction *action = qobject_cast<QAction *>(sender());
|
||||||
|
|
|
@ -116,7 +116,7 @@ slots: // Necessary to call from QAction's signals.
|
||||||
void changeGas();
|
void changeGas();
|
||||||
void addSetpointChange();
|
void addSetpointChange();
|
||||||
void addBookmark();
|
void addBookmark();
|
||||||
void addDivemodeSwith();
|
void addDivemodeSwitch();
|
||||||
void hideEvents();
|
void hideEvents();
|
||||||
void unhideEvents();
|
void unhideEvents();
|
||||||
void removeEvent();
|
void removeEvent();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue