Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
3d927d8b
Commit
3d927d8b
authored
Nov 21, 2021
by
Albert Astals Cid
Browse files
Fix white-on-yellow text on ServerLabel tooltip
parent
11ec1137
Pipeline
#99648
passed with stage
in 13 minutes and 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/widgets/vacationscriptindicatorwidget.cpp
View file @
3d927d8b
...
...
@@ -20,7 +20,7 @@ ServerLabel::ServerLabel(const QString &serverName, QWidget *parent)
{
setToolTip
(
serverName
);
setPixmap
(
QIcon
::
fromTheme
(
QStringLiteral
(
"network-server"
)).
pixmap
(
16
,
16
));
setStyleSheet
(
QStringLiteral
(
"background-color: %1;"
).
arg
(
QColor
(
Qt
::
yellow
).
name
()));
setStyleSheet
(
QStringLiteral
(
"background-color: %1;
color: %2;
"
).
arg
(
QColor
(
Qt
::
yellow
).
name
()
,
QColor
(
Qt
::
black
).
name
()
));
setContentsMargins
(
2
,
0
,
4
,
0
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment