diff --git a/src/base/profile_p.cpp b/src/base/profile_p.cpp index e27a232a4..e90c96139 100644 --- a/src/base/profile_p.cpp +++ b/src/base/profile_p.cpp @@ -177,7 +177,7 @@ std::unique_ptr Private::CustomProfile::applicationSettings(const QSt const auto CONF_FILE_EXTENSION = u".conf"_qs; #endif const Path settingsFilePath = configLocation() / Path(name + CONF_FILE_EXTENSION); - return std::unique_ptr(new QSettings(settingsFilePath.data(), QSettings::IniFormat)); + return std::make_unique(settingsFilePath.data(), QSettings::IniFormat); } Path Private::NoConvertConverter::fromPortablePath(const Path &portablePath) const