diff options
| author | 2011-03-05 03:21:02 +0000 | |
|---|---|---|
| committer | 2011-03-05 03:21:02 +0000 | |
| commit | becaac1136b84be972e8de843d2016270cf3346b (patch) | |
| tree | 339b1ab8c22c6f7d4bd5ba3af2b5db3124d656fc /src | |
| parent | Fix #1102 (diff) | |
| download | KVIrc-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')
| -rw-r--r-- | src/modules/notifier/NotifierWindow.cpp | 4 |
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) { |
