diff options
Diffstat (limited to 'core/subsurfacesysinfo.cpp')
-rw-r--r-- | core/subsurfacesysinfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/subsurfacesysinfo.cpp b/core/subsurfacesysinfo.cpp index 6f63a3011..fae93bdff 100644 --- a/core/subsurfacesysinfo.cpp +++ b/core/subsurfacesysinfo.cpp @@ -240,11 +240,11 @@ struct QUnixOSVersion static QString unquote(const char *begin, const char *end) { - if (*begin == '"') { - Q_ASSERT(end[-1] == '"'); - return QString::fromLatin1(begin + 1, end - begin - 2); - } - return QString::fromLatin1(begin, end - begin); + if (*begin == '"') { + Q_ASSERT(end[-1] == '"'); + return QString::fromLatin1(begin + 1, end - begin - 2); + } + return QString::fromLatin1(begin, end - begin); } static bool readEtcOsRelease(QUnixOSVersion &v) @@ -613,9 +613,9 @@ extern "C" { bool isWin7Or8() { #ifdef Q_OS_WIN - return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7; + return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7; #else - return false; + return false; #endif } } |