vcl/qt5/QtFrame.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be28117cf6ac2b9d433f0990d26fe9590cd61345
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Sep 27 09:32:46 2024 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Sep 28 09:33:14 2024 +0200

    qt: Use QList::at instead of operator[]
    
    Change-Id: I366ec4439d2647f433a9dc480c6efa6160a451a1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174030
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Tested-by: Jenkins

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
         {

Reply via email to