[vlc-commits] [Git][videolan/vlc][master] qt: fix interface window minimum size no longer set

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Mar 16 09:34:29 UTC 2025


Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
123eedf8 by Fatih Uzunoglu at 2025-03-16T09:20:47+00:00
qt: fix interface window minimum size no longer set

This is because `updateIntfScaleFactor()` no longer emits
the signal `intfScaleFactorChanged()` unconditionally.

- - - - -


1 changed file:

- modules/gui/qt/maininterface/interface_window_handler.cpp


Changes:

=====================================
modules/gui/qt/maininterface/interface_window_handler.cpp
=====================================
@@ -105,6 +105,7 @@ InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t *_p_intf, MainCtx* main
     connect( m_mainCtx, &MainCtx::windowExtendedMarginChanged, this, updateMinimumSize );
     connect( m_mainCtx, &MainCtx::minimalViewChanged, this, updateMinimumSize );
     m_mainCtx->updateIntfScaleFactor();
+    updateMinimumSize();
 
     m_mainCtx->onWindowVisibilityChanged(m_window->visibility());
     connect( m_window, &QWindow::visibilityChanged,



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

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


VideoLAN code repository instance


More information about the vlc-commits mailing list