mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: more Coverity silencing
Mostly irrelevant std::move() stuff of copy-on-write Qt objects, a few real bugs, a timestamp_t downconversion and some codingsyle adaptation. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
35ff6eea35
commit
91e4fb4769
27 changed files with 47 additions and 47 deletions
|
|
@ -1312,7 +1312,7 @@ void DivePlannerPointsModel::createPlan(bool replanCopy)
|
|||
disclaimerBegin = disclaimer.left(disclaimerMid);
|
||||
disclaimerEnd = disclaimer.mid(disclaimerMid + 2);
|
||||
} else {
|
||||
disclaimerBegin = disclaimer;
|
||||
disclaimerBegin = std::move(disclaimer);
|
||||
}
|
||||
int disclaimerPositionStart = oldnotes.indexOf(disclaimerBegin);
|
||||
if (disclaimerPositionStart >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue