Changeset View
Changeset View
Standalone View
Standalone View
src/settings/ProfileSettings.cpp
Context not available. | |||||
300 | 300 | | |||
---|---|---|---|---|---|
301 | Q_ASSERT(sourceProfile); | 301 | Q_ASSERT(sourceProfile); | ||
302 | 302 | | |||
303 | auto newProfile = Profile::Ptr(new Profile(ProfileManager::instance()->fallbackProfile())); | 303 | auto newProfile = Profile::Ptr(new Profile()); | ||
304 | newProfile->clone(sourceProfile, true); | 304 | newProfile->clone(sourceProfile, true); | ||
305 | newProfile->setProperty(Profile::Name, i18nc("@item This will be used as part of the file name", "New Profile")); | 305 | newProfile->setProperty(Profile::Name, i18nc("@item This will be used as part of the file name", "New Profile")); | ||
306 | newProfile->setProperty(Profile::UntranslatedName, QStringLiteral("New Profile")); | 306 | newProfile->setProperty(Profile::UntranslatedName, QStringLiteral("New Profile")); | ||
Context not available. |