git-svn-id: svn://db.shs.com.ru/libs@710 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-01-19 20:29:11 +00:00
parent 88a45580a1
commit a17a46db40
7 changed files with 2274 additions and 225 deletions

View File

@@ -265,6 +265,9 @@ QSize preferredIconSize(float x, const QWidget * w) {
int s = qMax<int>(8, qRound(fontHeight(w) * x));
#ifdef Q_OS_MACOS
s /= 1.25;
#endif
#ifdef Q_OS_ANDROID
s /= 1.4;
#endif
return QSize(s, s);
}