From 6e57c59305afe8409b7eff61f09ee48cfa82e3e6 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 31 Jul 2014 11:23:11 +0200 Subject: [PATCH] Fix compilation of qtdiag. Adapt to changes in QSysInfo API. Change-Id: Iae95ed9f10f260f9c89cb27b6f50a13322fa8068 Reviewed-by: Maurice Kalinowski --- src/qtdiag/qtdiag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index b6408dc..8ca2c52 100644 --- a/src/qtdiag/qtdiag.cpp +++ b/src/qtdiag/qtdiag.cpp @@ -217,8 +217,8 @@ QString qtDiag(unsigned flags) const QPlatformIntegration *platformIntegration = QGuiApplicationPrivate::platformIntegration(); str << QLibraryInfo::build() << " on \"" << QGuiApplication::platformName() << "\" " << '\n' - << "OS: " << QSysInfo::prettyOsName() - << " [kernel version " << QSysInfo::osKernelVersion() << "]\n"; + << "OS: " << QSysInfo::prettyProductName() + << " [kernel version " << QSysInfo::productVersion() << "]\n"; str << "\nCPU features:"; DUMP_CPU_FEATURE(SSE2, "SSE2"); -- 2.7.4