subsurface/qt-ui
Tomaz Canabrava 0054304cc8 Remove if to save or not save the tags.
The way that we work with tags is a bit weird, we have a global
tag_list pointer and every dive copy the tags from there. the problem
is that the tags_changed() function looks at those two places ( the
global and the dive-local lists ) to see if something was changed,
but we shouldn't add anything at the global taglist untill a tag
is really added, so that function is bogus.

The correct way to check if something changed is to check all the
strings in tags against the strings in the QLineEdit and see if they
are the same, then we can add things to the tag_list.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-07-09 08:33:21 -07:00
..
css
marble
profile
about.cpp
about.h
about.ui
completionmodels.cpp
completionmodels.h
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp
divelistview.h
divelogexportdialog.cpp
divelogexportdialog.h
divelogexportdialog.ui
divelogimportdialog.cpp
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp
diveplanner.h
diveplanner.ui
downloadfromdivecomputer.cpp
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
globe.cpp
globe.h
graphicsview-common.cpp
graphicsview-common.h
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp
kmessagewidget.h
maintab.cpp Remove if to save or not save the tags. 2014-07-09 08:33:21 -07:00
maintab.h
maintab.ui
mainwindow.cpp
mainwindow.h
mainwindow.ui
modeldelegates.cpp
modeldelegates.h
models.cpp
models.h
plannerSettings.ui
preferences.cpp
preferences.h
preferences.ui
printdialog.cpp
printdialog.h Remove printing when building for Android 2014-03-27 10:42:07 -07:00
printlayout.cpp
printlayout.h
printoptions.cpp
printoptions.h
printoptions.ui
renumber.ui
searchbar.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp
simplewidgets.h
starwidget.cpp
starwidget.h
subsurfacewebservices.cpp
subsurfacewebservices.h
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp
tagwidget.h
updatemanager.cpp
updatemanager.h
usermanual.cpp
usermanual.h
usersurvey.cpp
usersurvey.h
usersurvey.ui
webservices.ui