summaryrefslogtreecommitdiffstats
path: root/core/qt-ble.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-16 20:19:40 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-16 12:40:08 -0700
commita7440ce2779734a59a7495ef44b9d62da4aa9eee (patch)
treead0ba5c2d254d4d0778acb89e3bbf15135180604 /core/qt-ble.cpp
parent04b6bb8cc946486efa174722b75378028105250b (diff)
downloadsubsurface-a7440ce2779734a59a7495ef44b9d62da4aa9eee.tar.gz
filter: properly search for tags
The old code used get_taglist_string() and split the resulting string at commas to get the list of tags. This was wrong for two reasons: 1) It was buggy. Every tag but the first would start with a leading space and thus not be found. 2) It was inefficient. The tag list was concatenated, just to be split again. Turn the tag list directly into a QStringList and remove whitespace for good measure. Fixes #2842. Reported-by: Hartley Horwitz <hhrwtz@gmail.com> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/qt-ble.cpp')
0 files changed, 0 insertions, 0 deletions