diff options
| author | 2017-11-27 17:13:57 +0200 | |
|---|---|---|
| committer | 2017-11-27 22:59:22 +0100 | |
| commit | 837ed67d867991fd82773205970813426a806852 (patch) | |
| tree | 47deb413f1c0b9c3057d6a27ac5ace6f511e26fa /core | |
| parent | 1d80b08a8fb1fe06fd5cf60eac43b9ae1dc1197c (diff) | |
| download | subsurface-837ed67d867991fd82773205970813426a806852.tar.gz | |
mapwidget.qml: return early instead of doing branching
The centerOn*() functions can just return early
for invalid input, instead of branching the conditions.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions