diff options
| author | 2011-03-23 03:08:21 +0000 | |
|---|---|---|
| committer | 2011-03-23 03:08:21 +0000 | |
| commit | 08c5d328b3e0ffff780292da8f26961548f7e598 (patch) | |
| tree | 8139b1e722d07b145a9742811d79e25e5d82a77e /src/modules/notifier/NotifierWindowTab.cpp | |
| parent | Start making sense out of KviLocale: split into separate files inside a new s... (diff) | |
| download | KVIrc-08c5d328b3e0ffff780292da8f26961548f7e598.tar.gz KVIrc-08c5d328b3e0ffff780292da8f26961548f7e598.tar.bz2 KVIrc-08c5d328b3e0ffff780292da8f26961548f7e598.zip | |
Don't use the global background image for the notifier since the foreground colors may be mismatched.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5673 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/notifier/NotifierWindowTab.cpp')
| -rw-r--r-- | src/modules/notifier/NotifierWindowTab.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/notifier/NotifierWindowTab.cpp b/src/modules/notifier/NotifierWindowTab.cpp index dc47a3535..0473511fe 100644 --- a/src/modules/notifier/NotifierWindowTab.cpp +++ b/src/modules/notifier/NotifierWindowTab.cpp @@ -206,10 +206,12 @@ void NotifierWindowTab::paintEvent(QPaintEvent * e) col.setAlphaF((float)((float)KVI_OPTION_UINT(KviOption_uintGlobalTransparencyChildFadeFactor) / (float)100)); pPainter->fillRect(e->rect(), col); pPainter->restore(); - } else if(g_pShadedChildGlobalDesktopBackground) +#if 0 + } else if(g_pShadedChildGlobalDesktopBackground) // This doesn't work as the text doesn't actually use the right foreground color { QPoint pnt = mapToGlobal(e->rect().topLeft()); pPainter->drawTiledPixmap(e->rect(),*(g_pShadedChildGlobalDesktopBackground), pnt); +#endif } else { #endif QPixmap * pPix = KVI_OPTION_PIXMAP(KviOption_pixmapNotifierBackground).pixmap(); |
