diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 13:59:25 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 13:59:25 +0200 |
commit | 75b57201e9c0213048cce95f8abc8670b229f547 (patch) | |
tree | d8cb75b039e90a828d86303a25e79308aa3370dc /applications | |
parent | c70900dd854dd8b8777edb0ccd479e311c957aeb (diff) | |
download | kube-75b57201e9c0213048cce95f8abc8670b229f547.tar.gz kube-75b57201e9c0213048cce95f8abc8670b229f547.zip |
Use qt5ct to set the font size to 11
Otherwise we default to a rather small value of 9 which is hardcoded in
qgenericunixthemes.cpp.
Diffstat (limited to 'applications')
-rw-r--r-- | applications/kube/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp index ef9be5ab..61773381 100644 --- a/applications/kube/main.cpp +++ b/applications/kube/main.cpp | |||
@@ -122,6 +122,7 @@ int main(int argc, char *argv[]) | |||
122 | app.setApplicationVersion(QString("%1 Branch: %2 Commit: %3").arg(kube_VERSION_STRING).arg(kube_BRANCH).arg(kube_COMMIT)); | 122 | app.setApplicationVersion(QString("%1 Branch: %2 Commit: %3").arg(kube_VERSION_STRING).arg(kube_BRANCH).arg(kube_COMMIT)); |
123 | app.setFont(QFont{"Noto Sans", app.font().pointSize(), QFont::Normal}); | 123 | app.setFont(QFont{"Noto Sans", app.font().pointSize(), QFont::Normal}); |
124 | 124 | ||
125 | qDebug() << "Font size:" << app.font().pointSize(); | ||
125 | 126 | ||
126 | QCommandLineParser parser; | 127 | QCommandLineParser parser; |
127 | parser.setApplicationDescription("A communication and collaboration client."); | 128 | parser.setApplicationDescription("A communication and collaboration client."); |