Skip to content

Commit

Permalink
Use QColorConstants for white instead of manually creating QColor
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Aug 24, 2023
1 parent f260bbf commit 362118e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/account.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ protected Q_SLOTS:
Capabilities _capabilities;
QString _serverVersion;
QColor _serverColor = Theme::defaultColor();
QColor _serverTextColor = QColor(255, 255, 255);
QColor _serverTextColor = QColorConstants::White;
bool _skipE2eeMetadataChecksumValidation = false;
QScopedPointer<AbstractSslErrorHandler> _sslErrorHandler;
QSharedPointer<QNetworkAccessManager> _am;
Expand Down

0 comments on commit 362118e

Please sign in to comment.