mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 16:28:11 +00:00
fix(src/main): do not set special case on fonts for mac os
This commit is contained in:
parent
7b7ad00a2b
commit
79e27ca6a6
1 changed files with 1 additions and 10 deletions
|
|
@ -92,16 +92,7 @@ int main (int argc, char *argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
QFont font(DEFAULT_FONT);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
// 72 dpi on MacOs...
|
||||
font.setPixelSize(10 * QApplication::primaryScreen()->physicalDotsPerInch() / 72.0);
|
||||
#endif // ifdef Q_OS_MACOS
|
||||
|
||||
app.setFont(font);
|
||||
}
|
||||
app.setFont(QFont(DEFAULT_FONT));
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Init and run!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue