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 committed Feb 8, 2024
1 parent 2dd3773 commit 07518cb
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 07518cb

Please sign in to comment.