From a8a6439ba07850851c08495713b2c67675a3bbcb Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 7 Jan 2012 17:18:48 +0100 Subject: [PATCH] Fix typo. --- src/core/Entry.cpp | 6 +++--- src/core/Entry.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index b35c201d9..bdd053e98 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -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); } diff --git a/src/core/Entry.h b/src/core/Entry.h index 70ee3b7a0..c910e548d 100644 --- a/src/core/Entry.h +++ b/src/core/Entry.h @@ -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: /**