Revision b4180cb...

Go back to digest for 16th February 2014

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kio] src/core/kprotocolmanager.cpp:

Use Q_OS_UNIX instead of HAVE_X11 to determine the platform we are on

We cannot properly determine the windowing system platform on unix
like systems in kprotocolmanager as it's not linking gui. Thus we
don't know whether we are on X11 or Wayland and there is no proper
way to figure it out, because both DISPLAY and WAYLAND_DISPLAY could
be defined.

As a solution we just force the platform to be always X11 when we
are on unix like systems (modulo mac).

REVIEW: 115723

File Changes

Modified 1 files
  • src/core/kprotocolmanager.cpp
1 files changed in total