fix(tray): remove red background

Change-Id: I5c15b04d0f9f9425dd7ba21b64013aa22b8f1845
This commit is contained in:
haruyukilxz 2018-05-31 10:54:10 +08:00
parent 4c14fe2755
commit 6514110b1d
Notes: gerrit 2018-05-31 16:06:27 +08:00
Verified+1: <jenkins@deepin.com>
Verified+1: zhaofangfangdeepin <zhaofangfang@linuxdeepin.com>
Code-Review+2: kirigayakazushin <lxz@ilxz.me>
Submitted-by: kirigayakazushin <lxz@ilxz.me>
Submitted-at: Thu, 31 May 2018 16:06:27 +0800
Reviewed-on: https://cr.deepin.io/35258
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -147,6 +147,8 @@ IndicatorTrayWidget::IndicatorTrayWidget(const QString &indicatorKey, QWidget *p
p.setColor(QPalette::Background, Qt::red);
d->label->setPalette(p);
d->label->setAttribute(Qt::WA_TranslucentBackground);
layout->addWidget(d->label, 0, Qt::AlignCenter);
setLayout(layout);