Commit 27046e54 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Remove an unused member

parent ffe912a1
Pipeline #188464 passed with stage
in 2 minutes and 34 seconds
......@@ -141,7 +141,6 @@ const Profile::PropertyInfo Profile::DefaultPropertyNames[] = {
{static_cast<Profile::Property>(0), nullptr, nullptr, QVariant::Invalid}};
QHash<QString, Profile::PropertyInfo> Profile::PropertyInfoByName;
QHash<Profile::Property, Profile::PropertyInfo> Profile::PropertyInfoByProperty;
// Magic path for the built-in profile which is not a valid file name,
// thus it can not interfere with regular profiles.
......@@ -344,12 +343,6 @@ void Profile::registerProperty(const PropertyInfo &info)
QString name = QLatin1String(;
PropertyInfoByName.insert(name.toLower(), info);
// only allow one property -> name map
// (multiple name -> property mappings are allowed though)
if (!PropertyInfoByProperty.contains( {
PropertyInfoByProperty.insert(, info);
const QStringList Profile::propertiesInfoList() const
......@@ -772,7 +772,6 @@ private:
bool _hidden;
static QHash<QString, PropertyInfo> PropertyInfoByName;
static QHash<Property, PropertyInfo> PropertyInfoByProperty;
// Describes a property. Each property has a name and group
// which is used when saving/loading the profile.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment