[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.
wilder-5.24
Vlad Zahorodnii 6 years ago
parent a709b37d22
commit 9b59cfc348
  1. 5
      kstyle/breezehelper.cpp

@ -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;
}
//______________________________________________________________________________

Loading…
Cancel
Save