aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/environmentmodel.cpp
blob: 13329597846369bb97a4a0a88f05d51addf70998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "environmentmodel.h"

#include "environment.h"

namespace Utils {

Environment EnvironmentModel::baseEnvironment() const
{
    return Environment(baseNameValueDictionary());
}

void EnvironmentModel::setBaseEnvironment(const Environment &env)
{
    setBaseNameValueDictionary(env.toDictionary());
}

} // namespace Utils