Commit 070f048e authored by JanKusanagi's avatar JanKusanagi

Note about Qt 5.11 deprecations

parent 3e8b0c23
......@@ -213,6 +213,8 @@ ImageViewer::ImageViewer(QString url, QSize imageSize,
QDesktopWidget desktopWidget;
int desktopWidth = desktopWidget.availableGeometry().width();
int desktopHeight = desktopWidget.availableGeometry().height();
// FIXME: QDesktopWidget::availableGeometry() is deprecated in 5.11:
// Use QGuiApplication::screens()
qDebug() << "Available desktop area: "
<< desktopWidth << "x" << desktopHeight;
......
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