Skip to content

Commit

Permalink
Merge pull request #5595 from nextcloud/bugfix/use-vfs-ui
Browse files Browse the repository at this point in the history
Alway add the item at the end of the layout.
  • Loading branch information
mgallien authored Apr 12, 2023
2 parents 6b87324 + 6a4d6b9 commit d5bddb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/wizard/owncloudadvancedsetuppage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ OwncloudAdvancedSetupPage::OwncloudAdvancedSetupPage(OwncloudWizard *wizard)

#ifdef Q_OS_WIN
if (bestAvailableVfsMode() == Vfs::WindowsCfApi) {
qobject_cast<QVBoxLayout *>(_ui.wSyncStrategy->layout())->insertItem(0, _ui.lVirtualFileSync);
qobject_cast<QVBoxLayout *>(_ui.wSyncStrategy->layout())->insertItem(-1, _ui.lVirtualFileSync);
setRadioChecked(_ui.rVirtualFileSync);
}
#endif
Expand Down

0 comments on commit d5bddb9

Please sign in to comment.