mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 00:08:13 +00:00
fix(src/main): fix font size on mac os (NEXT TRY!)
This commit is contained in:
parent
7f2c5e92a0
commit
b0350122c5
1 changed files with 2 additions and 2 deletions
|
|
@ -98,10 +98,10 @@ int main (int argc, char *argv[]) {
|
|||
|
||||
#ifdef Q_OS_MACOS
|
||||
// 72 dpi on MacOs...
|
||||
font.setPointSizeF(font.pointSize() * 96.0 / 72.0);
|
||||
font.setPixelSize(10 * QApplication::primaryScreen()->physicalDotsPerInch() / 72.0);
|
||||
#endif // ifdef Q_OS_MACOS
|
||||
|
||||
app.setFont(QFont(DEFAULT_FONT));
|
||||
app.setFont(font);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue