diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-08 18:18:33 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-09 08:33:21 -0700 |
commit | 0054304cc84578309427a73e5b7d3199b786df10 (patch) | |
tree | de2ca8108bf56bfea628a920baf8203362c15952 /qt-ui/divecomputermanagementdialog.h | |
parent | 954d40148390a45b0a6f5178dfbdbc273dae315d (diff) | |
download | subsurface-0054304cc84578309427a73e5b7d3199b786df10.tar.gz |
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>
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.h')
0 files changed, 0 insertions, 0 deletions