From abfe5cdbe5d4e24e4044ba6c31487fe9dbf4b274 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 24 Jul 2010 14:08:12 +0000 Subject: fixed volume notification git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1813 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/notifier/popupwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/plugins/General/notifier/popupwidget.cpp b/src/plugins/General/notifier/popupwidget.cpp index e245b99c6..f6c2bbb71 100644 --- a/src/plugins/General/notifier/popupwidget.cpp +++ b/src/plugins/General/notifier/popupwidget.cpp @@ -126,10 +126,10 @@ void PopupWidget::showVolume(int v) m_label1->setAlignment(Qt::AlignVCenter); m_label1->setText("" + tr("Volume:") + QString (" %1\%").arg(v)+ + ""); - - qApp->processEvents(); updateGeometry(); - resize(sizeHint()); + setFixedSize(sizeHint()); + update(); + show(); updatePosition(); m_timer->start(); } -- cgit v1.2.3-13-gbd6f