Fix typo.

This commit is contained in:
Felix Geyer 2012-01-07 17:18:48 +01:00
parent f39dfa1c88
commit a8a6439ba0
2 changed files with 4 additions and 4 deletions

View File

@ -262,14 +262,14 @@ void Entry::setAttribute(const QString& key, const QString& value, bool protect)
m_protectedAttributes.remove(key);
}
if (isDefaultAttributue(key)) {
if (isDefaultAttribute(key)) {
Q_EMIT dataChanged(this);
}
}
void Entry::removeAttribute(const QString& key)
{
Q_ASSERT(!isDefaultAttributue(key));
Q_ASSERT(!isDefaultAttribute(key));
m_attributes.remove(key);
m_protectedAttributes.remove(key);
@ -350,7 +350,7 @@ void Entry::setGroup(Group* group)
QObject::setParent(group);
}
bool Entry::isDefaultAttributue(const QString& key)
bool Entry::isDefaultAttribute(const QString& key)
{
return m_defaultAttibutes.contains(key);
}

View File

@ -99,7 +99,7 @@ public:
Group* group();
void setGroup(Group* group);
static bool isDefaultAttributue(const QString& key);
static bool isDefaultAttribute(const QString& key);
Q_SIGNALS:
/**