fix(sound): not update when volume changed

Change-Id: Ie9f5d51f35200d4d09d8e8304da6a254fca49d9f
This commit is contained in:
haruyukilxz 2018-07-18 11:12:46 +08:00
parent d09db5293c
commit 2e87a06268
Notes: gerrit 2018-07-18 11:43:50 +08:00
Verified+1: <jenkins@deepin.com>
Code-Review+2: 张丁元 <lxz@ilxz.me>
Submitted-by: 张丁元 <lxz@ilxz.me>
Submitted-at: Wed, 18 Jul 2018 11:43:50 +0800
Reviewed-on: https://cr.deepin.io/36841
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -12,6 +12,8 @@ void TipsWidget::setText(const QString &text)
m_text = text;
setFixedSize(fontMetrics().width(text) + 6, fontMetrics().height());
update();
}
void TipsWidget::paintEvent(QPaintEvent *event)