From f47e642c7780cc27cd436aa8b3912c2adf5060a3 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 f78eef19cde58821603c3b85b6f8f9571c41b2b5 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()