summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/icons/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/icons/mainwindow.cpp')
-rw-r--r--examples/widgets/widgets/icons/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/widgets/icons/mainwindow.cpp b/examples/widgets/widgets/icons/mainwindow.cpp
index bd14bff518..7280ba9a42 100644
--- a/examples/widgets/widgets/icons/mainwindow.cpp
+++ b/examples/widgets/widgets/icons/mainwindow.cpp
@@ -419,7 +419,7 @@ QWidget *MainWindow::createIconSizeGroupBox()
void MainWindow::screenChanged()
{
- devicePixelRatioLabel->setText(QString::number(devicePixelRatioF()));
+ devicePixelRatioLabel->setText(QString::number(devicePixelRatio()));
if (const QWindow *window = windowHandle()) {
const QScreen *screen = window->screen();
const QString screenDescription =