summaryrefslogtreecommitdiffstats
path: root/core/subsurfacesysinfo.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 11:05:38 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 11:07:20 -0700
commit5a4485b63b944a0030c1020afc44d753d0e32078 (patch)
tree032e21b2f026f58dd5b684b62bbeeec93408cb18 /core/subsurfacesysinfo.cpp
parent38e24512b74dcfb0f473fe0c8003c66e99354409 (diff)
downloadsubsurface-5a4485b63b944a0030c1020afc44d753d0e32078.tar.gz
Random whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurfacesysinfo.cpp')
-rw-r--r--core/subsurfacesysinfo.cpp14
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
}
}