Commit cf86c7ff authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

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

Like it's done in other places in the same file
parent f1ab8b7c
......@@ -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
......
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