mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win-nix] refactoring
This commit is contained in:
@ -262,7 +262,7 @@ QString Utils::encodeJson(const QString& s)
|
||||
unsigned Utils::getScreenDpiRatio(int scrnum)
|
||||
{
|
||||
#ifdef __linux
|
||||
double _k = _k = QApplication::primaryScreen()->logicalDotsPerInch() / 96.f;
|
||||
double _k = QApplication::primaryScreen()->logicalDotsPerInch() / 96.f;
|
||||
#else
|
||||
UINT _dpi_x = 0,
|
||||
_dpi_y = 0;
|
||||
|
||||
Reference in New Issue
Block a user