[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kolourpaint/pixmapfx
From: Christoph Feck <christoph () maxiom ! de>
Date: 2010-10-19 0:24:39
Message-ID: 20101019002439.992A5AC897 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1187348 by cfeck:
Force native graphicssystem
CCBUG: 252256
M +6 -0 kpPixmapFX_ScreenDepth.cpp
--- trunk/KDE/kdegraphics/kolourpaint/pixmapfx/kpPixmapFX_ScreenDepth.cpp #1187347:1187348
@@ -32,6 +32,7 @@
#include <kpPixmapFX.h>
#include <QPixmap>
+#include <QApplication>
#include <KLocale>
#include <KMessageBox>
@@ -42,6 +43,11 @@
// (KApplication has not been constructed yet)
void kpPixmapFX::initScreenDepthPre ()
{
+#ifdef Q_WS_X11
+ // kolourpaint only works properly with Qt's native X11 backend; override any compile-time
+ // or command line settings to raster or OpenGL.
+ QApplication::setGraphicsSystem (QLatin1String ("native"));
+#endif
}
// public static
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic