Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-07-08 16:49:27 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:15 +0300
commite38b43123c982528720b2173aa9feeb92c532c6c (patch)
treec9799d871b406231c607ad3bd4c0a81ddd123ba3 /src/gui/accountmanager.cpp
parentc9ee0a03431038355d195051156b50fcae7658f5 (diff)
Log: Only print 'Saved account settings' in debug mode
Don't log that there was no error...
Diffstat (limited to 'src/gui/accountmanager.cpp')
-rw-r--r--src/gui/accountmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp
index 7d7b397ac..5bb87b320 100644
--- a/src/gui/accountmanager.cpp
+++ b/src/gui/accountmanager.cpp
@@ -195,26 +195,26 @@ void AccountManager::save(bool saveCredentials)
void AccountManager::saveAccount(Account *a)
{
- qCInfo(lcAccountManager) << "Saving account" << a->url().toString();
+ qCDebug(lcAccountManager) << "Saving account" << a->url().toString();
auto settings = ConfigFile::settingsWithGroup(QLatin1String(accountsC));
settings->beginGroup(a->id());
saveAccountHelper(a, *settings, false); // don't save credentials they might not have been loaded yet
settings->endGroup();
settings->sync();
- qCInfo(lcAccountManager) << "Saved account settings, status:" << settings->status();
+ qCDebug(lcAccountManager) << "Saved account settings, status:" << settings->status();
}
void AccountManager::saveAccountState(AccountState *a)
{
- qCInfo(lcAccountManager) << "Saving account state" << a->account()->url().toString();
+ qCDebug(lcAccountManager) << "Saving account state" << a->account()->url().toString();
auto settings = ConfigFile::settingsWithGroup(QLatin1String(accountsC));
settings->beginGroup(a->account()->id());
a->writeToSettings(*settings);
settings->endGroup();
settings->sync();
- qCInfo(lcAccountManager) << "Saved account state settings, status:" << settings->status();
+ qCDebug(lcAccountManager) << "Saved account state settings, status:" << settings->status();
}
void AccountManager::saveAccountHelper(Account *acc, QSettings &settings, bool saveCredentials)