aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared/specialplatformssetup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/shared/specialplatformssetup.cpp')
-rw-r--r--src/app/shared/specialplatformssetup.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/shared/specialplatformssetup.cpp b/src/app/shared/specialplatformssetup.cpp
index 409cbd5a9..88d50d103 100644
--- a/src/app/shared/specialplatformssetup.cpp
+++ b/src/app/shared/specialplatformssetup.cpp
@@ -42,7 +42,8 @@
namespace qbs {
-SpecialPlatformsSetup::SpecialPlatformsSetup() : m_stdout(stdout), m_helpRequested(false) {}
+SpecialPlatformsSetup::SpecialPlatformsSetup(Settings *settings)
+ : m_stdout(stdout), m_helpRequested(false), m_settings(settings) {}
SpecialPlatformsSetup::~SpecialPlatformsSetup() {}
void SpecialPlatformsSetup::setup()
@@ -143,7 +144,7 @@ void SpecialPlatformsSetup::registerProfile(const PlatformInfo &platformInfo)
{
m_stdout << tr("Setting up profile '%1'...").arg(platformInfo.name) << endl;
- Profile profile(platformInfo.name);
+ Profile profile(platformInfo.name, m_settings);
profile.removeProfile();
profile.setValue(QLatin1String("qbs.toolchain"), QLatin1String("gcc"));
profile.setValue(QLatin1String("qbs.endianness"), QLatin1String("little-endian"));