Skip to content

Commit

Permalink
fix QML warnings about accessing undefined parent property
Browse files Browse the repository at this point in the history
we are defining a component, by definition there will be no parent

setting the size if the responsibility of the stack view, not of the
component (or even its definition)

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien authored and backportbot[bot] committed Feb 13, 2024
1 parent 1d274a9 commit 7f105b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/filedetails/ShareDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ GridLayout {
ShareDetailsPage {
id: shareDetailsPage

width: parent.width
height: parent.height
backgroundsVisible: root.backgroundsVisible
accentColor: root.accentColor

Expand Down

0 comments on commit 7f105b0

Please sign in to comment.