Add devicePixelRatio to about info
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user