Files
nextcloud-desktop/test/foldermantestutils.cpp
Jyrki Gadinger ac61af7075 fix(gui): initialise e2e()->account() from Account
This resolves a crash when opening the settings window in case the
ConnectionValidator already reported a Connected status, but is still
busy fetching the user info.

Added a test to ensure the constructor no longer crashes with this fix.
I hope this works fine in CI 🤞

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-11-18 09:03:34 +01:00

18 lines
295 B
C++

/*
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "foldermantestutils.h"
FolderManTestHelper::FolderManTestHelper(QObject *parent)
: QObject{parent}
{
}
FolderManTestHelper::~FolderManTestHelper()
{
}