diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-30 13:24:36 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-30 13:24:36 +0300 |
commit | 9038c950aef4a59cc9f928541cb20b010be9a8df (patch) | |
tree | 504b717640347d041253a3067248e5311da96da6 /src/MainWindow.cpp | |
parent | Remove obsolete font/size setting (diff) | |
download | nheko-9038c950aef4a59cc9f928541cb20b010be9a8df.tar.xz |
Remove pixel value from fonts
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 55eb2679..b441978f 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -58,8 +58,7 @@ MainWindow::MainWindow(QWidget *parent) restoreWindowSize(); - QFont font("Open Sans"); - font.setPixelSize(conf::fontSize); + QFont font; font.setStyleStrategy(QFont::PreferAntialias); setFont(font); |