Commit 3d927d8b authored by Albert Astals Cid's avatar 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
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment