mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix(sound): not update when volume changed
Change-Id: Ie9f5d51f35200d4d09d8e8304da6a254fca49d9f
This commit is contained in:
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
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user