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
6QStringList KRuntimePlatform::runtimePlatform()
7{
8 const QString env = QString::fromLocal8Bit(getenv("PLASMA_PLATFORM"));
9 return QStringList(env.split(QLatin1Char(':'), Qt::SkipEmptyParts));
10}
11

source code of kcoreaddons/src/lib/util/kruntimeplatform.cpp