diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2013-11-01 09:33:39 -0400 |
---|---|---|
committer | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2013-11-01 09:33:39 -0400 |
commit | 69d4ccae6db83173c2d87b2565852b530852c3cc (patch) | |
tree | 0a02684538e093fe7c41558ee314abd5abf28a8a /qt-ui/mainwindow.cpp | |
parent | a7b19b251da3421060f9603133265f0a5d54492d (diff) | |
download | subsurface-69d4ccae6db83173c2d87b2565852b530852c3cc.tar.gz |
Added a new option to edit the dives.
Added a new option to edit the dive in the profile view. The option
will only be visible if the dive was manually entered or if the dive
is a plan.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 1dcf03314..d797b0fe1 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -280,7 +280,7 @@ void MainWindow::on_actionAddDive_triggered() // now cheat - create one dive that we use to store the info tab data in struct dive *dive = alloc_dive(); dive->when = QDateTime::currentMSecsSinceEpoch() / 1000L; - const char* model = strdup(tr("manulaly added dive").toLocal8Bit().constData()); + const char* model = strdup(tr("manually added dive").toLocal8Bit().constData()); dive->dc.model = model; // do not use tr here since it expects a char*. record_dive(dive); select_dive(get_divenr(dive)); |