              l2 = get_gl_info_egl(dpy, scrnum, l1, l2);
              if (l2)
                  l2->setExpanded(true);
-@@ -956,6 +964,7 @@ bool GetInfo_OpenGL(QTreeWidget *treeWidget)
+@@ -1000,6 +1008,7 @@ bool GetInfo_OpenGL(QTreeWidget *treeWidget)
  #endif
          XCloseDisplay(dpy);
      }
 +#endif
  
      if (isWayland) {
-         l1->setText(0, i18n("Name of the Display"));
--- 
-1.9.3
-
+         IsDirect = true;

     static bool isWayland = QGuiApplication::platformName().contains(QStringLiteral("wayland"));
 
     QTreeWidgetItem *header = new QTreeWidgetItem();
@@ -911,6 +918,7 @@ bool GetInfo_OpenGL(QTreeWidget *treeWidget)
 
     l1 = new QTreeWidgetItem(treeWidget);
 

 static QTreeWidgetItem *get_gl_info_egl(Display *dpy, int scrnum, QTreeWidgetItem *l1, QTreeWidgetItem *after)
 {
    Window win;
@@ -898,6 +902,7 @@ static QTreeWidgetItem *get_gl_info_egl(Display *dpy, int scrnum, QTreeWidgetIte
    return result;
 
 }
