diff options
| author | Yuhang Zhao <zhaoyuhang@rankyee.com> | 2023-05-24 09:33:29 +0800 |
|---|---|---|
| committer | Yuhang Zhao <yuhangzhao@deepin.org> | 2023-05-24 11:25:29 +0000 |
| commit | 68f35a571a259cd83490c093af01d8b4e9b0e34a (patch) | |
| tree | ea4ceb24a39d4279bcbe9129eba4aac7194a42b1 /src/sql/kernel/qsqldatabase.cpp | |
| parent | f7511171ac8b77fb0bb6e18f8a4af8463f0031dd (diff) | |
QAbstractScrollArea: don't call QScrollBar::sizeHint unless we need to
We only take the scrollbar's extent into account if the respective
policy is Qt::ScrollBarAlwaysOn, so don't compute it otherwise.
Done-with: Ilya Fedin <fedin-ilja2010@ya.ru>
Pick-to: 6.5
Change-Id: Idaf9404860d1f778d7a89b19d9f7fc16201ce29e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
