From 8456626320aa48b01ba6e445ddf63e40daef4fda Mon Sep 17 00:00:00 2001 From: Tim Ringenbach Date: Wed, 5 Mar 2025 18:05:21 -0600 Subject: [PATCH 1/2] Add devicePixelRatio to about info --- src/Gui/Dialogs/DlgAbout.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Gui/Dialogs/DlgAbout.cpp b/src/Gui/Dialogs/DlgAbout.cpp index 45b253a232..a4b8762441 100644 --- a/src/Gui/Dialogs/DlgAbout.cpp +++ b/src/Gui/Dialogs/DlgAbout.cpp @@ -730,10 +730,12 @@ void AboutDialog::copyToClipboard() << QString::fromStdString(theme) << "/" << QString::fromStdString(style) << "\n"; // Add DPI information - str << "Logical/physical DPI: " + str << "Logical/physical/ratio DPI: " << QApplication::primaryScreen()->logicalDotsPerInch() << "/" << QApplication::primaryScreen()->physicalDotsPerInch() + << "/" + << QApplication::primaryScreen()->devicePixelRatio() << "\n"; // Add installed module information: From 4a8033c77cde899edcec214d65e36e2f213d5654 Mon Sep 17 00:00:00 2001 From: Tim Ringenbach Date: Wed, 5 Mar 2025 20:29:25 -0600 Subject: [PATCH 2/2] update label --- src/Gui/Dialogs/DlgAbout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Dialogs/DlgAbout.cpp b/src/Gui/Dialogs/DlgAbout.cpp index a4b8762441..bd09a56cff 100644 --- a/src/Gui/Dialogs/DlgAbout.cpp +++ b/src/Gui/Dialogs/DlgAbout.cpp @@ -730,7 +730,7 @@ void AboutDialog::copyToClipboard() << QString::fromStdString(theme) << "/" << QString::fromStdString(style) << "\n"; // Add DPI information - str << "Logical/physical/ratio DPI: " + str << "Logical DPI/Physical DPI/Pixel Ratio: " << QApplication::primaryScreen()->logicalDotsPerInch() << "/" << QApplication::primaryScreen()->physicalDotsPerInch()