[PanelView] Use KWindowSystem::isPlatformX11() instead of QX11Info

Like it's done in other places in the same file
wilder-5.14
Kai Uwe Broulik 8 years ago
parent f1ab8b7ccb
commit cf86c7ffef
  1. 2
      shell/panelview.cpp

@ -963,7 +963,7 @@ void PanelView::updateMask()
bool PanelView::canSetStrut() const
{
#if HAVE_X11
if (!QX11Info::isPlatformX11()) {
if (!KWindowSystem::isPlatformX11()) {
return true;
}
// read the wm name, need to do this every time which means a roundtrip unfortunately

Loading…
Cancel
Save