From 8456626320aa48b01ba6e445ddf63e40daef4fda Mon Sep 17 00:00:00 2001 From: Tim Ringenbach Date: Wed, 5 Mar 2025 18:05:21 -0600 Subject: [PATCH] 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: