summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5System.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5System.cxx')
-rw-r--r--vcl/qt5/Qt5System.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5System.cxx b/vcl/qt5/Qt5System.cxx
index 4e00a0dd6283..d769f7118ea5 100644
--- a/vcl/qt5/Qt5System.cxx
+++ b/vcl/qt5/Qt5System.cxx
@@ -27,7 +27,7 @@ tools::Rectangle Qt5System::GetDisplayScreenPosSizePixel(unsigned int nScreen)
SAL_WNODEPRECATED_DECLARATIONS_PUSH
QRect qRect = QApplication::desktop()->screenGeometry(nScreen);
SAL_WNODEPRECATED_DECLARATIONS_POP
- return toRectangle(qRect);
+ return toRectangle(scaledQRect(qRect, qApp->devicePixelRatio()));
}
int Qt5System::ShowNativeDialog(const OUString&, const OUString&, const std::vector<OUString>&)