summaryrefslogtreecommitdiff
path: root/src/widgets/dialogs/qwizard_win.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2020-11-02 07:00:18 +0100
committerOliver Wolff <oliver.wolff@qt.io>2021-07-30 08:02:56 +0200
commit5f5c342924a0d9a2856b2f2d6db373e25723f2b0 (patch)
tree5a0c95642e83b46a91e7af735df0644287afab7b /src/widgets/dialogs/qwizard_win.cpp
parent2c6bc06267b2599d491d5c84b29a368e6a922bc1 (diff)
downloadqtbase-5f5c342924a0d9a2856b2f2d6db373e25723f2b0.tar.gz
Remove Windows 7, 8, and 8.1 codepaths
Pick-to: 6.2 Task-number: QTBUG-84432 Change-Id: I970d7d7e9ebdcf246a5be32d60066b4e5e948c27 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qwizard_win.cpp')
-rw-r--r--src/widgets/dialogs/qwizard_win.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/dialogs/qwizard_win.cpp b/src/widgets/dialogs/qwizard_win.cpp
index 692583666d..24aa24de20 100644
--- a/src/widgets/dialogs/qwizard_win.cpp
+++ b/src/widgets/dialogs/qwizard_win.cpp
@@ -716,9 +716,7 @@ int QVistaHelper::topOffset(const QPaintDevice *device)
{
if (vistaState() != VistaAero)
return titleBarSize() + 3;
- static const int aeroOffset =
- QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows8 ?
- QStyleHelper::dpiScaled(4, device) : QStyleHelper::dpiScaled(13, device);
+ static const int aeroOffset = QStyleHelper::dpiScaled(13, device);
return aeroOffset + titleBarSize();
}