Commit 8427b89a authored by Stefan Gerlach's avatar Stefan Gerlach
Browse files

Add build timestamp in about dialog

parent 28b16ef3
......@@ -57,14 +57,15 @@
const QString getSystemInfo() {
// build type
#ifdef NDEBUG
const QString buildType(i18n("Release version"));
const QString buildType(i18n("Release build"));
#else
const QString buildType(i18n("Debug version"));
const QString buildType(i18n("Debug build"));
#endif
return buildType + '\n'
+ QSysInfo::prettyProductName() + '\n'
+ QSysInfo::buildAbi() + '\n'
+ QString("%1, %2").arg(__DATE__).arg(__TIME__) + '\n'
+ i18n("System: ") + QSysInfo::prettyProductName() + '\n'
+ i18n("Architecture: ") + QSysInfo::buildAbi() + '\n'
+ i18n("Kernel: ") + QSysInfo::kernelType() + ' ' + QSysInfo::kernelVersion() + '\n'
+ i18n("C++ Compiler: ") + QString(CXX_COMPILER) + '\n'
+ i18n("C++ Compiler Flags: ") + QString(CXX_COMPILER_FLAGS);
......
......@@ -39,7 +39,7 @@ void SmoothTest::testPercentile() {
// data
QVector<int> xData{1,2,3,4,5,6,7,8,9,10};
QVector<double> yData{47.7,44.,43.,44.96,45.,43.73,38.,47.1,44.,38.3};
// p=0.5, d=5 (from LibreOffice)
// p=0.5, d=5 (check with LibreOffice and Origin 2020a)
QVector<double> result50_5{47.7,44,44.96,44,43.73,44.96,44,43.73,44,38.3};
//data source columns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment