diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 15:56:49 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 15:56:49 -0700 |
commit | 08689b2f89bc62ad55ab88562d4394d872511075 (patch) | |
tree | 8b0fbe21a7cea4f63d02cb9c00113250c6c8b0d4 /scripts | |
parent | 7809077b33dd990c80568ea116d23fee696cfaec (diff) | |
download | subsurface-08689b2f89bc62ad55ab88562d4394d872511075.tar.gz |
Correctly parse boolean preferences
QVariant does the right thing, regardless of whether the value is stored
as int or as string - so let's just use that instead of manually checking
for integers (and failing if the values are stored as "true" and "false").
Fixes #511
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions