Fix regression in QAbstractScrollArea
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Wed, 19 Sep 2012 15:45:25 +0000 (17:45 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 21 Sep 2012 00:44:22 +0000 (02:44 +0200)
commitfe966e5f48da975bfa63bb547398153b74fbd534
treea1019bd73e6787f27c770f6a72a2f0d5f72b3bc4
parente92313bf7e2346f44deec4dd4ea70289a621c4ca
Fix regression in QAbstractScrollArea

The style hint SH_ScrollView_FrameOnlyAroundContents was currently
being ignored by QAbstractScrollArea. This looks like an accidental
regression following 10c6f015f45092040c281bb90a65179f598a00b1.

This code path does not execute on mac so it should have no impact
on that patch.

Change-Id: I78ca0a6b87dfdd7d426acbb3ef49480390211af2
Reviewed-by: Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/widgets/widgets/qabstractscrollarea.cpp
tests/auto/widgets/styles/qstyle/tst_qstyle.cpp