status-desktop/storybook/systemutils.cpp

10 lines
237 B
C++
Raw Permalink Normal View History

#include "systemutils.h"
#include <QtGlobal>
SystemUtils::SystemUtils(QObject *parent) : QObject(parent) {}
QString SystemUtils::getEnvVar(const QString &varName) {
return qEnvironmentVariable(varName.toUtf8().constData(), "");
}