aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/environmentmodel.cpp
blob: 23d57618fa3b8c35245cb588aa6c2a74d75442d8 (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+ OR GPL-3.0 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