Commit 9b59cfc3 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[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.
parent a709b37d
......@@ -1500,13 +1500,8 @@ namespace Breeze
//______________________________________________________________________________
bool Helper::isX11()
{
#if BREEZE_HAVE_X11
static const bool s_isX11 = KWindowSystem::isPlatformX11();
return s_isX11;
#endif
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