do x11 stuff only on x11

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=766344
This commit is contained in:
Benjamin Reed 2008-01-25 16:24:40 +00:00
parent c99bda9dde
commit e94de707ee

View File

@ -25,7 +25,9 @@
#include <QSvgRenderer>
#include <QResizeEvent>
#include <QMouseEvent>
#ifdef Q_WS_X11
#include <QX11Info>
#endif
#include <QGraphicsView>
#include <QtGui/QGraphicsSceneEvent>
@ -34,8 +36,9 @@
#include <plasma/svg.h>
#ifdef Q_WS_X11
#include <X11/Xlib.h>
#endif
namespace Plasma