Skip to content

Commit

Permalink
Do not include theme header in account header
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and backportbot-nextcloud[bot] committed Aug 24, 2023
1 parent 9e20e71 commit 6339545
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/libsync/account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "creds/abstractcredentials.h"
#include "networkjobs.h"
#include "pushnotifications.h"
#include "theme.h"
#include "version.h"

#include "deletejob.h"
Expand Down Expand Up @@ -70,6 +71,7 @@ const char app_password[] = "_app-password";
Account::Account(QObject *parent)
: QObject(parent)
, _capabilities(QVariantMap())
, _serverColor(Theme::defaultColor())
{
qRegisterMetaType<AccountPtr>("AccountPtr");
qRegisterMetaType<Account *>("Account*");
Expand Down
4 changes: 2 additions & 2 deletions src/libsync/account.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "clientsideencryption.h"
#include "common/utility.h"
#include "syncfileitem.h"
#include "theme.h"

#include <memory>

class QSettings;
Expand Down Expand Up @@ -409,7 +409,7 @@ protected Q_SLOTS:
QSslConfiguration _sslConfiguration;
Capabilities _capabilities;
QString _serverVersion;
QColor _serverColor = Theme::defaultColor();
QColor _serverColor;
QColor _serverTextColor = QColorConstants::White;
bool _skipE2eeMetadataChecksumValidation = false;
QScopedPointer<AbstractSslErrorHandler> _sslErrorHandler;
Expand Down

0 comments on commit 6339545

Please sign in to comment.