diff options
| author | 2011-05-19 20:20:26 +0000 | |
|---|---|---|
| committer | 2011-05-19 20:20:26 +0000 | |
| commit | c38b5c68c2b65c6bf12ed066d6db89c458a71b4a (patch) | |
| tree | b65f6f6d050200d6e8b676820e8e7615cb3dbc7f /src/modules/notifier | |
| parent | notifier: force focus on the inputbar (diff) | |
| download | KVIrc-c38b5c68c2b65c6bf12ed066d6db89c458a71b4a.tar.gz KVIrc-c38b5c68c2b65c6bf12ed066d6db89c458a71b4a.tar.bz2 KVIrc-c38b5c68c2b65c6bf12ed066d6db89c458a71b4a.zip | |
Re-enabled pseudotransparency for the notifier. I agree this forces the user to choose a matching foreground color, but is true also for labels, the inputbar, etc. Should we think at a series of options to enable the global background per-section?
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5847 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/notifier')
| -rw-r--r-- | src/modules/notifier/NotifierWindowTab.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/notifier/NotifierWindowTab.cpp b/src/modules/notifier/NotifierWindowTab.cpp index 575dadbdf..948b44fff 100644 --- a/src/modules/notifier/NotifierWindowTab.cpp +++ b/src/modules/notifier/NotifierWindowTab.cpp @@ -207,12 +207,10 @@ void NotifierWindowTab::paintEvent(QPaintEvent * e) col.setAlphaF((float)((float)KVI_OPTION_UINT(KviOption_uintGlobalTransparencyChildFadeFactor) / (float)100)); pPainter->fillRect(e->rect(), col); pPainter->restore(); -#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(); |
