From 8d2335679640a5d1cae5470583d99f9e5378e648 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 9 Dec 2017 14:05:42 +0000 Subject: [PATCH] MacOS minor add Thread Count in aboutqet git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5157 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/aboutqet.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sources/aboutqet.cpp b/sources/aboutqet.cpp index fe14c1c32..f77f0712f 100644 --- a/sources/aboutqet.cpp +++ b/sources/aboutqet.cpp @@ -60,6 +60,8 @@ AboutQET::AboutQET(QWidget *parent) : scrollArea->setWidgetResizable(true); scrollArea->setFixedSize (590, 590); scrollArea->setWidget(tabs); + scrollArea->setWindowModality(Qt::ApplicationModal); + } /** @@ -80,11 +82,12 @@ QWidget *AboutQET::titleTab() const { compilation_info += " CLANG " + QString(__clang_version__ ); compilation_info += " - built with Qt " + QString(QT_VERSION_STR); compilation_info += " - run with Qt "+ QString(qVersion()); + compilation_info += " using" + QString(" %1 thread(s)").arg(QThread::idealThreadCount()); #else compilation_info += " GCC " + QString(__VERSION__); compilation_info += " - built with Qt " + QString(QT_VERSION_STR); compilation_info += " - run with Qt "+ QString(qVersion()); - compilation_info += " using" + QString(" %1 thread(s)...").arg(QThread::idealThreadCount()); + compilation_info += " using" + QString(" %1 thread(s)").arg(QThread::idealThreadCount()); #endif #endif title -> setAlignment(Qt::AlignCenter);