mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
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
This commit is contained in:
@@ -60,6 +60,8 @@ AboutQET::AboutQET(QWidget *parent) :
|
|||||||
scrollArea->setWidgetResizable(true);
|
scrollArea->setWidgetResizable(true);
|
||||||
scrollArea->setFixedSize (590, 590);
|
scrollArea->setFixedSize (590, 590);
|
||||||
scrollArea->setWidget(tabs);
|
scrollArea->setWidget(tabs);
|
||||||
|
scrollArea->setWindowModality(Qt::ApplicationModal);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -80,11 +82,12 @@ QWidget *AboutQET::titleTab() const {
|
|||||||
compilation_info += " CLANG " + QString(__clang_version__ );
|
compilation_info += " CLANG " + QString(__clang_version__ );
|
||||||
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
||||||
compilation_info += " - run with Qt "+ QString(qVersion());
|
compilation_info += " - run with Qt "+ QString(qVersion());
|
||||||
|
compilation_info += " using" + QString(" %1 thread(s)").arg(QThread::idealThreadCount());
|
||||||
#else
|
#else
|
||||||
compilation_info += " GCC " + QString(__VERSION__);
|
compilation_info += " GCC " + QString(__VERSION__);
|
||||||
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
compilation_info += " - built with Qt " + QString(QT_VERSION_STR);
|
||||||
compilation_info += " - run with Qt "+ QString(qVersion());
|
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
|
||||||
#endif
|
#endif
|
||||||
title -> setAlignment(Qt::AlignCenter);
|
title -> setAlignment(Qt::AlignCenter);
|
||||||
|
|||||||
Reference in New Issue
Block a user