summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqpainter_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqpainter_x11.cpp')
-rw-r--r--src/kernel/tqpainter_x11.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/kernel/tqpainter_x11.cpp b/src/kernel/tqpainter_x11.cpp
index d419b3411..e477f2aaa 100644
--- a/src/kernel/tqpainter_x11.cpp
+++ b/src/kernel/tqpainter_x11.cpp
@@ -170,15 +170,7 @@ static inline void x11ClearClipRegion(Display *dpy, GC gc, GC gc2, TQt::HANDLE d
#ifndef TQT_NO_XFTFREETYPE
if (draw) {
-# ifdef QT_XFT2
XftDrawSetClip((XftDraw *) draw, None);
-# else
- // stupid Xft1
- Picture pict = XftDrawPicture((XftDraw *) draw);
- XRenderPictureAttributes pattr;
- pattr.clip_mask = None;
- XRenderChangePicture(dpy, pict, CPClipMask, &pattr);
-# endif // QT_XFT2
}
#else
Q_UNUSED(draw);