Adding DPI info to the copied information in the about dialog (#19251)
* Adding DPI info to the copied information in the about dialog. * Update DlgAbout.cpp changed screen() to QApplication::primaryScreen()
This commit is contained in:
@@ -709,6 +709,13 @@ void AboutDialog::copyToClipboard()
|
||||
str << "Stylesheet/Theme/QtStyle: " << QString::fromStdString(styleSheet) << "/"
|
||||
<< QString::fromStdString(theme) << "/" << QString::fromStdString(style) << "\n";
|
||||
|
||||
// Add DPI information
|
||||
str << "Logical/physical DPI: "
|
||||
<< QApplication::primaryScreen()->logicalDotsPerInch()
|
||||
<< "/"
|
||||
<< QApplication::primaryScreen()->physicalDotsPerInch()
|
||||
<< "\n";
|
||||
|
||||
// Add installed module information:
|
||||
auto modDir = fs::path(App::Application::getUserAppDataDir()) / "Mod";
|
||||
bool firstMod = true;
|
||||
|
||||
Reference in New Issue
Block a user