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 QT_VERSION >= 0x050000
static bool isX11 = QApplication::platformName() == QStringLiteral("xcb");
return isX11;
return QX11Info::isPlatformX11();
#else
return true;
#endif

Loading…
Cancel
Save