Commit c1776d06 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[kstyle] Remove #if BREEZE_HAVE_X11 around code that uses KWindowSystem

Currently the condition in the #if directive evaluates to false (sorry
for breaking it!).

In order to prevent breaking Helper::isX11() in the future, this change
removes the #if directive. It's okay to do so because KWindowSystem
provides a platform-independent API.

(cherry picked from commit 9b59cfc3)
parent 51abf6a3
......@@ -1461,13 +1461,8 @@ namespace Breeze
bool Helper::isX11()
static const bool s_isX11 = KWindowSystem::isPlatformX11();
return s_isX11;
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment