summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2013-01-29 12:19:25 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-01-29 13:45:37 +0100
commit10652f8dd675aa0d12c11597c165831c8ba0b8b4 (patch)
tree66d9b43624994d4b8520a1d07eada2c0f8cbdb74 /src
parent75c7942d8c97a408f95236472d2eda88ac6e5f58 (diff)
Disable desktop settings awareness for now
Loading the KDE and Gnome settings for Wayland clients don't yet make sense. For the platform theme we check to see whether we are in a KDE or Gnome environment, then set the default style hints based on that. Right now for the Wayland platform, it makes more sense to use the generic UNIX platform theme. If there are ever KDE or Gnome Wayland environments available, it may be worth reconsidering, but for now it just causes problems(like the GTK+ style being loaded even though it has X11 dependencies). Change-Id: I13017c46f47ae34df884d2070a239c16ffbee850 Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/wayland/qwaylandintegration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandintegration.cpp b/src/plugins/platforms/wayland/qwaylandintegration.cpp
index 1edf37e97..7fabdcbae 100644
--- a/src/plugins/platforms/wayland/qwaylandintegration.cpp
+++ b/src/plugins/platforms/wayland/qwaylandintegration.cpp
@@ -82,6 +82,8 @@ QWaylandIntegration::QWaylandIntegration()
#endif
{
QGuiApplicationPrivate::instance()->setEventDispatcher(mEventDispatcher);
+ //Disable desktop settings for wayland clients for now
+ QGuiApplicationPrivate::obey_desktop_settings = false;
mDisplay = new QWaylandDisplay();
mClipboard = new QWaylandClipboard(mDisplay);
mDrag = new QWaylandDrag(mDisplay);