aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index da9215662..e7b7c1460 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1437,21 +1437,21 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
if (divemode != OC) {
QAction *action = new QAction(&m);
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());
changeMode->addAction(action);
}
if (divemode != CCR) {
QAction *action = new QAction(&m);
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());
changeMode->addAction(action);
}
if (divemode != PSCR) {
QAction *action = new QAction(&m);
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());
changeMode->addAction(action);
}
@@ -1616,7 +1616,7 @@ void ProfileWidget2::addBookmark()
replot();
}
-void ProfileWidget2::addDivemodeSwith()
+void ProfileWidget2::addDivemodeSwitch()
{
int i;
QAction *action = qobject_cast<QAction *>(sender());