[vlc-commits] [Git][videolan/vlc][master] qml: do not use `MainCtx.screen` in ArtworkInfoWidget
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 5 13:44:28 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e59a6502 by Fatih Uzunoglu at 2024-09-05T13:12:53+00:00
qml: do not use `MainCtx.screen` in ArtworkInfoWidget
This corrects the issue arose from the semantic conflict
of a65a6963 and cdadf978 which got merged consecutively
without having a chance to spot and correct the issue.
- - - - -
1 changed file:
- modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
Changes:
=====================================
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
=====================================
@@ -17,6 +17,7 @@
*****************************************************************************/
import QtQuick
+import QtQuick.Window
import QtQuick.Controls
import QtQuick.Layouts
@@ -155,7 +156,7 @@ AbstractButton {
return VLCStyle.noArtAlbumCover
}
- sourceSize.height: root.height * MainCtx.screen.devicePixelRatio
+ sourceSize.height: root.height * Screen.devicePixelRatio
fillMode: Image.PreserveAspectFit
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e59a65021ab0a865c683acabdbba9307f627f5ea
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e59a65021ab0a865c683acabdbba9307f627f5ea
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