diff options
| author | 2010-11-25 14:36:29 +0000 | |
|---|---|---|
| committer | 2010-11-25 14:36:29 +0000 | |
| commit | ebb00f74c064374a348c1411ab46ef98e6868bd8 (patch) | |
| tree | 0cf1f6f8f6bc0a59fa5eeb75613cad4755e715e2 /src | |
| parent | reapplied r4442, since it seems to be needed again on recent qt/cocoa (fix #930) (diff) | |
| download | KVIrc-ebb00f74c064374a348c1411ab46ef98e6868bd8.tar.gz KVIrc-ebb00f74c064374a348c1411ab46ef98e6868bd8.tar.bz2 KVIrc-ebb00f74c064374a348c1411ab46ef98e6868bd8.zip | |
disable mouseover effect on macosx to avoid its misbehaviour
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5173 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_windowlist_tree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kvirc/ui/kvi_windowlist_tree.cpp b/src/kvirc/ui/kvi_windowlist_tree.cpp index 6b913384d..15a22f735 100644 --- a/src/kvirc/ui/kvi_windowlist_tree.cpp +++ b/src/kvirc/ui/kvi_windowlist_tree.cpp @@ -517,6 +517,7 @@ void KviTreeWindowListItemDelegate::paint(QPainter * p, const QStyleOptionViewIt { //selection colored background p->fillRect(option.rect, KVI_OPTION_COLOR(KviOption_colorTreeWindowListActiveBackground)); +#ifndef COMPILE_ON_MAC } else { if(KVI_OPTION_BOOL(KviOption_boolEnableVisualEffects) && option.state & QStyle::State_MouseOver) { @@ -525,6 +526,7 @@ void KviTreeWindowListItemDelegate::paint(QPainter * p, const QStyleOptionViewIt col.setAlpha(127); p->fillRect(option.rect, col); } +#endif } //draw window icon, irc context indicator (a colored square), set font properties for text int im = option.rect.left(); |
