Quellcode durchsuchen

DisplayComponent: dump Qt screen info on start

Still trying to analyze #495. The screen rects should prevent out of
bound geos to be accepted. Apparently they don't, so try to see what's
wrong here.
Vincent Lang vor 8 Jahren
Ursprung
Commit
4261d79ca5
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/display/DisplayComponent.cpp

+ 1 - 0
src/display/DisplayComponent.cpp

@@ -72,6 +72,7 @@ bool DisplayComponent::componentInitialize()
 
     for(QScreen *screen : app->screens())
     {
+      QLOG_INFO() << "Screen" << screen << "with geometry" << screen->virtualGeometry();
       connect(screen, SIGNAL(refreshRateChanged(qreal)), this, SLOT(monitorChange()));
       connect(screen, SIGNAL(geometryChanged(QRect)), this, SLOT(monitorChange()));
     }