Skip to content

Commit

Permalink
Merge pull request #5628 from nextcloud/bugfix/sync-now-button-error
Browse files Browse the repository at this point in the history
Fix setting [undefined] to QFont in 'Sync now' button
  • Loading branch information
claucambra authored May 8, 2023
2 parents 9fba8df + 385c13e commit a7eefe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/tray/SyncStatus.qml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ RowLayout {
}

CustomButton {
id: syncNowButton

FontMetrics {
id: syncNowFm
font: parent.contentsFont
font: syncNowButton.contentsFont
}

Layout.preferredWidth: syncNowFm.boundingRect(text).width +
Expand Down

0 comments on commit a7eefe8

Please sign in to comment.