From 4bf807c21b9e7b847bfffe9a404145b819ce6bb4 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sun, 23 Jan 2011 14:41:32 -0500 Subject: [PATCH] update the viewport! --- src/libtomahawk/playlist/dynamic/DynamicView.cpp | 1 + src/libtomahawk/widgets/overlaywidget.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/dynamic/DynamicView.cpp b/src/libtomahawk/playlist/dynamic/DynamicView.cpp index 7ae908e5b..b4d0996bc 100644 --- a/src/libtomahawk/playlist/dynamic/DynamicView.cpp +++ b/src/libtomahawk/playlist/dynamic/DynamicView.cpp @@ -50,6 +50,7 @@ DynamicView::showMessageTimeout( const QString& title, const QString& body ) m_title = title; m_body = body; m_showTimer.start(); + viewport()->update(); } void diff --git a/src/libtomahawk/widgets/overlaywidget.cpp b/src/libtomahawk/widgets/overlaywidget.cpp index ac78d07b9..c15163382 100644 --- a/src/libtomahawk/widgets/overlaywidget.cpp +++ b/src/libtomahawk/widgets/overlaywidget.cpp @@ -28,7 +28,7 @@ void OverlayWidget::setOpacity( qreal opacity ) { m_opacity = opacity; - m_parent->reset(); + m_parent->viewport()->update(); }