1 | // SPDX-FileCopyrightText: 2021 Alexander Lohnau <alexander.lohnau@gmx.de> |
---|---|
2 | // SPDX-License-Identifier: LGPL-2.0-or-later |
3 | |
4 | #include "kruntimeplatform.h" |
5 | |
6 | QStringList KRuntimePlatform::runtimePlatform() |
7 | { |
8 | const QString env = QString::fromLocal8Bit(ba: getenv(name: "PLASMA_PLATFORM")); |
9 | return QStringList(env.split(sep: QLatin1Char(':'), behavior: Qt::SkipEmptyParts)); |
10 | } |
11 |