summaryrefslogtreecommitdiffstats
path: root/subsurfacesysinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurfacesysinfo.cpp')
-rw-r--r--subsurfacesysinfo.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/subsurfacesysinfo.cpp b/subsurfacesysinfo.cpp
index 4093654ee..2458d2880 100644
--- a/subsurfacesysinfo.cpp
+++ b/subsurfacesysinfo.cpp
@@ -224,16 +224,6 @@ struct QUnixOSVersion
#ifdef USE_ETC_OS_RELEASE
-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);
-}
-
-
static bool readEtcOsRelease(QUnixOSVersion &v)
{
QFile osRelease("/etc/os-release");