diff options
| author | 2007-04-16 17:42:33 +0000 | |
|---|---|---|
| committer | 2007-04-16 17:42:33 +0000 | |
| commit | 3b9a89acfbac4f30f356f2b9f698b55c1d5fa275 (patch) | |
| tree | 8bdc299c76da264764092ad195d2fe211a69eefb /src/modules | |
| parent | fix eventFilter and added setAttribute (QT4 only) (diff) | |
| download | KVIrc-3b9a89acfbac4f30f356f2b9f698b55c1d5fa275.tar.gz KVIrc-3b9a89acfbac4f30f356f2b9f698b55c1d5fa275.tar.bz2 KVIrc-3b9a89acfbac4f30f356f2b9f698b55c1d5fa275.zip | |
small fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@501 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/notifier/notifierwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp index f682e77e5..1108d85c5 100644 --- a/src/modules/notifier/notifierwindow.cpp +++ b/src/modules/notifier/notifierwindow.cpp @@ -624,10 +624,10 @@ void KviNotifierWindow::paintEvent(QPaintEvent * e) */
redrawWindow();
redrawText();
- QPainter px(this);
if(m_dOpacity < 1.0)
{
-
+ QPainter px(this);
+
#if defined(COMPILE_USE_QT4) && (defined(COMPILE_ON_WINDOWS) || defined(Q_OS_MACX))
px.drawPixmap(0,0,m_pixForeground);
#else
@@ -638,6 +638,7 @@ void KviNotifierWindow::paintEvent(QPaintEvent * e) px.end();
} else {
#ifdef COMPILE_USE_QT4
+ QPainter px(this);
px.drawPixmap(0,0,m_pixForeground);
#else
bitBlt(this,QPoint(0,0),&m_pixForeground);
|
