summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-22 10:04:45 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-22 10:04:45 +0200
commitfec7e92775eb3dacc8c36d38b63140abbea628c2 (patch)
treea1f7e9ddb49bcc83146efb76e7429366076a5ab6
parent145b22ef7f45fbfa83880e69f35a4e39e57970ca (diff)
downloadkube-fec7e92775eb3dacc8c36d38b63140abbea628c2.tar.gz
kube-fec7e92775eb3dacc8c36d38b63140abbea628c2.zip
Don't apply the fontsize fix on mac.
-rw-r--r--applications/kube/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp
index 49a0b5fa..a85c9bd3 100644
--- a/applications/kube/main.cpp
+++ b/applications/kube/main.cpp
@@ -121,7 +121,7 @@ int main(int argc, char *argv[])
121 app.setApplicationName("kube"); 121 app.setApplicationName("kube");
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 auto fontSize = app.font().pointSize(); 123 auto fontSize = app.font().pointSize();
124#ifdef Q_OS_UNIX 124#if defined(Q_OS_UNIX) && (!defined(Q_OS_MAC))
125 if (qgetenv("QT_QPA_PLATFORMTHEME").isEmpty()) { 125 if (qgetenv("QT_QPA_PLATFORMTHEME").isEmpty()) {
126 //The hardcoded default in qgenericunixthemes.cpp of 9 is tiny, so we default to something larger. 126 //The hardcoded default in qgenericunixthemes.cpp of 9 is tiny, so we default to something larger.
127 fontSize = 11; 127 fontSize = 11;