Changeset 5a4485b in subsurface for core/subsurfacesysinfo.cpp


Ignore:
Timestamp:
May 27, 2017, 11:07:20 AM (6 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
271b4ca
Parents:
38e24512
git-author:
Dirk Hohndel <dirk@…> (05/27/17 11:05:38)
git-committer:
Dirk Hohndel <dirk@…> (05/27/17 11:07:20)
Message:

Random whitespace cleanup

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/subsurfacesysinfo.cpp

    rb368ecd r5a4485b  
    241241static QString unquote(const char *begin, const char *end)
    242242{
    243     if (*begin == '"') {
    244         Q_ASSERT(end[-1] == '"');
    245         return QString::fromLatin1(begin + 1, end - begin - 2);
    246     }
    247     return QString::fromLatin1(begin, end - begin);
     243        if (*begin == '"') {
     244                Q_ASSERT(end[-1] == '"');
     245                return QString::fromLatin1(begin + 1, end - begin - 2);
     246        }
     247        return QString::fromLatin1(begin, end - begin);
    248248}
    249249
     
    614614{
    615615#ifdef Q_OS_WIN
    616        return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
    617 #else
    618        return false;
    619 #endif
    620 }
    621 }
     616        return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
     617#else
     618        return false;
     619#endif
     620}
     621}
Note: See TracChangeset for help on using the changeset viewer.