diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-28 14:01:47 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-28 08:12:26 -0800 |
commit | f1e1a9634a842f2d218b4aecee1cf18880baf2b8 (patch) | |
tree | 1d95b3357ca0dc9d145b7531da00cac1a19b1263 /desktop-widgets | |
parent | ee1c438d4161ab6009781ff358bec922d5e811c2 (diff) | |
download | subsurface-f1e1a9634a842f2d218b4aecee1cf18880baf2b8.tar.gz |
cleanup: simplify string-comparison in CylindersModel::setData()
Convert to QString instead of a QByteArray. Use qPrintable()
instead of data(). This might do one more UTF16->UTF8 conversion.
However, this is completely irrelevant, since we don't change
the type of a cylinder in a tight loop.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
0 files changed, 0 insertions, 0 deletions