diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-10-31 19:46:53 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-11-02 13:05:35 +0100 |
commit | 1e1b6e416781ac859e428cebc45581e687e11caf (patch) | |
tree | 81994825c820bedee7ca641476e138e12edcb034 /media-sound/musescore | |
parent | media-libs/nas: remove unused patches (diff) | |
download | gentoo-1e1b6e416781ac859e428cebc45581e687e11caf.tar.gz gentoo-1e1b6e416781ac859e428cebc45581e687e11caf.tar.bz2 gentoo-1e1b6e416781ac859e428cebc45581e687e11caf.zip |
media-sound/musescore: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/musescore')
-rw-r--r-- | media-sound/musescore/files/musescore-4.4.0-fix-main-toolbar-and-menubar.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/media-sound/musescore/files/musescore-4.4.0-fix-main-toolbar-and-menubar.patch b/media-sound/musescore/files/musescore-4.4.0-fix-main-toolbar-and-menubar.patch deleted file mode 100644 index 6abc9e4fbd95..000000000000 --- a/media-sound/musescore/files/musescore-4.4.0-fix-main-toolbar-and-menubar.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b274f13311ad0b2bce339634a006ba22fbd3379e Mon Sep 17 00:00:00 2001 -From: Ken Bloom <kbloom@gmail.com> -Date: Fri, 30 Aug 2024 09:17:27 -0400 -Subject: [PATCH] Fix MainToolbar, and AppMenuBar in Qt 6.5+ - -The problem was that a ListView lazily creates delegates as needed to -actually display them. If the size of the ListView is 0, then it doesn't -need to display anything, so it may not create any of the delegates. If -it doesn't create any delegates, then we can't make it size itself to -fit its contents. By setting a minimum size of 1, we force the ListView -to create a delegate that we can then use to determine the ListView's -actual size. - -Fixes: #24097 ---- a/src/appshell/qml/MainToolBar.qml -+++ b/src/appshell/qml/MainToolBar.qml -@@ -70,8 +70,8 @@ Item { - - model: toolBarModel - -- width: contentItem.childrenRect.width -- height: contentItem.childrenRect.height -+ width: Math.max(1, contentItem.childrenRect.width) -+ height: Math.max(1, contentItem.childrenRect.height) - - delegate: PageTabButton { - id: radioButtonDelegate ---- a/src/appshell/qml/platform/AppMenuBar.qml -+++ b/src/appshell/qml/platform/AppMenuBar.qml -@@ -28,7 +28,7 @@ import MuseScore.AppShell 1.0 - ListView { - id: root - -- height: contentItem.childrenRect.height -+ height: Math.max(1,contentItem.childrenRect.height) - width: contentWidth - - property alias appWindow: appMenuModel.appWindow |