aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2011-03-05 03:21:02 +0000
committerGravatar Szymon Tomasz Stefanek2011-03-05 03:21:02 +0000
commitbecaac1136b84be972e8de843d2016270cf3346b (patch)
tree339b1ab8c22c6f7d4bd5ba3af2b5db3124d656fc /src/modules
parentFix #1102 (diff)
downloadKVIrc-becaac1136b84be972e8de843d2016270cf3346b.tar.gz
KVIrc-becaac1136b84be972e8de843d2016270cf3346b.tar.bz2
KVIrc-becaac1136b84be972e8de843d2016270cf3346b.zip
Fix notifier painting: the background size must match effective size and not a local cache of it that might be outdated
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5535 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/notifier/NotifierWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/notifier/NotifierWindow.cpp b/src/modules/notifier/NotifierWindow.cpp
index 83a92b045..e39516503 100644
--- a/src/modules/notifier/NotifierWindow.cpp
+++ b/src/modules/notifier/NotifierWindow.cpp
@@ -611,8 +611,8 @@ void NotifierWindow::paintEvent(QPaintEvent * e)
{
QPainter * pPaint = new QPainter(this);
- if(m_wndRect.width() != m_pWndBorder->width() || m_wndRect.height() != m_pWndBorder->height())
- m_pWndBorder->resize(m_wndRect.size());
+ if(width() != m_pWndBorder->width() || height() != m_pWndBorder->height())
+ m_pWndBorder->resize(size());
if(m_bBlinkOn)
{