use QX11Info::isPlatformX11

wilder-pre-rebase
Hugo Pereira Da Costa 11 years ago
parent 3cfcd7543d
commit 2a7e98b20e
  1. 3
      kstyle/breezehelper.cpp

@ -1342,8 +1342,7 @@ namespace Breeze
{ {
#if BREEZE_HAVE_X11 #if BREEZE_HAVE_X11
#if QT_VERSION >= 0x050000 #if QT_VERSION >= 0x050000
static bool isX11 = QApplication::platformName() == QStringLiteral("xcb"); return QX11Info::isPlatformX11();
return isX11;
#else #else
return true; return true;
#endif #endif

Loading…
Cancel
Save