Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
c21bfa4f by Prince Gupta at 2021-10-01T07:55:40+00:00
qt: fix maximize window restore

remove QPoint::isNull check, for a maximized window this will always
return true and restoreWindow will fallback to default size

ref #26104

- - - - -


1 changed file:

- modules/gui/qt/widgets/native/qvlcframe.cpp


Changes:

=====================================
modules/gui/qt/widgets/native/qvlcframe.cpp
=====================================
@@ -96,7 +96,7 @@ static bool restoreWindowPositionImpl(QSettings *settings, 
QWindow *window)
     if (screenName.isNull() || screenGeometry.isNull())
         return false;
 
-    if (position.isNull() || geometry.isNull())
+    if (geometry.isNull())
         return false;
 
     bool screenFound = false;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/c21bfa4ff3c6fff8a0715b24c035f3fd5216994c

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/c21bfa4ff3c6fff8a0715b24c035f3fd5216994c
You're receiving this email because of your account on code.videolan.org.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to