diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2014-09-12 17:49:59 +0400 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2014-09-16 20:35:31 +0200 |
commit | 80ca159b47f5923466301bc9a5f5e042c1c47ca1 (patch) | |
tree | 7c1a7d8e864dc6c4478aaf0f8e95a7a2a239fc42 /tests/manual/qlocale/main.cpp | |
parent | eb6507039f3a991f446b58500343086c26b243b3 (diff) |
Fix saving handle width in QSplitter::saveState()
QSplitter::handleWidth() returns either a style dependent value if
d->handleWidth is negative or the value of d->handleWidth itself.
So to preserve this choice after calling saveState()/restoreState()
we should save and restore the value of d->handleWidth rather than a
result of handleWidth() which is non-negative.
Change-Id: Idc11f8063d34b6c4a5f9b0a0032868679766dfb9
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/manual/qlocale/main.cpp')
0 files changed, 0 insertions, 0 deletions