diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-09-27 09:32:46 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-09-28 09:33:14 +0200 |
commit | be28117cf6ac2b9d433f0990d26fe9590cd61345 (patch) | |
tree | 19207795bdeaee57e74bc44a2580449c9d7f7d1f /vcl/qt5 | |
parent | be6312f8c5ce4003d3e299493db7b4eb1c498d7d (diff) |
qt: Use QList::at instead of operator[]
Change-Id: I366ec4439d2647f433a9dc480c6efa6160a451a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174030
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/QtFrame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/QtFrame.cxx b/vcl/qt5/QtFrame.cxx index b7691bc4d00d..218af25130e0 100644 --- a/vcl/qt5/QtFrame.cxx +++ b/vcl/qt5/QtFrame.cxx @@ -1297,7 +1297,7 @@ void QtFrame::SetScreenNumber(unsigned int nScreen) if (!m_bFullScreenSpanAll) { screenGeo = QGuiApplication::screens().at(nScreen)->geometry(); - pWindow->setScreen(QApplication::screens()[nScreen]); + pWindow->setScreen(QApplication::screens().at(nScreen)); } else // special case: fullscreen over all available screens { |