diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index 8d2fac46..2c3d2aa9 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -190,7 +190,7 @@ QString Entry::title() const QString Entry::url() const { - return m_attributes->value(EntryAttributes::URLNameKey); + return m_attributes->value(EntryAttributes::URLKey); } QString Entry::username() const @@ -316,7 +316,7 @@ void Entry::setTitle(const QString& title) void Entry::setUrl(const QString& url) { - m_attributes->set(EntryAttributes::URLNameKey, url, m_attributes->isProtected(EntryAttributes::URLNameKey)); + m_attributes->set(EntryAttributes::URLKey, url, m_attributes->isProtected(EntryAttributes::URLKey)); } void Entry::setUsername(const QString& username) diff --git a/src/core/EntryAttributes.cpp b/src/core/EntryAttributes.cpp index 115855e2..a950390c 100644 --- a/src/core/EntryAttributes.cpp +++ b/src/core/EntryAttributes.cpp @@ -20,10 +20,10 @@ const QString EntryAttributes::TitleKey = "Title"; const QString EntryAttributes::UserNameKey = "UserName"; const QString EntryAttributes::PasswordKey = "Password"; -const QString EntryAttributes::URLNameKey = "URL"; +const QString EntryAttributes::URLKey = "URL"; const QString EntryAttributes::NotesKey = "Notes"; const QStringList EntryAttributes::DefaultAttributes(QStringList() << TitleKey << UserNameKey - << PasswordKey << URLNameKey << NotesKey); + << PasswordKey << URLKey << NotesKey); EntryAttributes::EntryAttributes(QObject* parent) : QObject(parent) diff --git a/src/core/EntryAttributes.h b/src/core/EntryAttributes.h index 4518cca8..0eba4332 100644 --- a/src/core/EntryAttributes.h +++ b/src/core/EntryAttributes.h @@ -49,7 +49,7 @@ public: static const QString TitleKey; static const QString UserNameKey; static const QString PasswordKey; - static const QString URLNameKey; + static const QString URLKey; static const QString NotesKey; static const QStringList DefaultAttributes; static bool isDefaultAttribute(const QString& key);