diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-04-16 23:56:42 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-17 08:33:51 -0700 |
commit | f14c14c383763c73de1a6ec681b017517235f2f6 (patch) | |
tree | 3c9c624e51c8e602a8ba085d56411c839fc05b80 /qt-ui/mainwindow.cpp | |
parent | 1a1cbc296be806a2117a5969443917d96bcb096a (diff) | |
download | subsurface-f14c14c383763c73de1a6ec681b017517235f2f6.tar.gz |
Mark a lot of TODO's where I think it should be moved to C code.
This marks a lot of todo's where I think there's core stuff being mangled
on the interface - we should remove this from the interface to make
testing and maintenability easier.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 0b00d4fd1..cd8e6d808 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -391,6 +391,7 @@ void MainWindow::on_actionAddDive_triggered() DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::ADD); // now cheat - create one dive that we use to store the info tab data in + //TODO: C-function create_temporary_dive ? struct dive *dive = alloc_dive(); dive->when = QDateTime::currentMSecsSinceEpoch() / 1000L + gettimezoneoffset(); dive->dc.model = "manually added dive"; // don't translate! this is stored in the XML file |