mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Move folder status model initialisation to member init list in AccountSettings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
68cff89c8b
commit
5c0c2afd57
@ -174,12 +174,12 @@ protected:
|
||||
AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent)
|
||||
: QWidget(parent)
|
||||
, _ui(new Ui::AccountSettings)
|
||||
, _model(new FolderStatusModel)
|
||||
, _accountState(accountState)
|
||||
, _userInfo(accountState, false, true)
|
||||
{
|
||||
_ui->setupUi(this);
|
||||
|
||||
_model = new FolderStatusModel;
|
||||
_model->setAccountState(_accountState);
|
||||
_model->setParent(this);
|
||||
const auto delegate = new FolderStatusDelegate;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user