[win-nix] refactoring

This commit is contained in:
Maxim Kadushkin
2017-07-03 15:30:09 +03:00
parent 35348ce9ad
commit c1e12b03fd

View File

@ -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;