From fea148803c583351ea309b7b13e5e780033962a2 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Fri, 6 Jan 2012 15:49:52 +0100 Subject: Rename getPath() -> path(). --- src/core/DataPath.cpp | 2 +- src/core/DataPath.h | 2 +- src/core/DatabaseIcons.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/DataPath.cpp b/src/core/DataPath.cpp index e902d4fb6..214083cd0 100644 --- a/src/core/DataPath.cpp +++ b/src/core/DataPath.cpp @@ -22,7 +22,7 @@ #include "config-keepassx.h" -QString DataPath::getPath(const QString& name) +QString DataPath::path(const QString& name) { return m_basePath + name; } diff --git a/src/core/DataPath.h b/src/core/DataPath.h index 98e45832e..758cb8bc1 100644 --- a/src/core/DataPath.h +++ b/src/core/DataPath.h @@ -24,7 +24,7 @@ class DataPath { public: - QString getPath(const QString& name); + QString path(const QString& name); QIcon applicationIcon(); private: diff --git a/src/core/DatabaseIcons.cpp b/src/core/DatabaseIcons.cpp index 3d5ddd3d2..a2301e060 100644 --- a/src/core/DatabaseIcons.cpp +++ b/src/core/DatabaseIcons.cpp @@ -31,7 +31,7 @@ QImage DatabaseIcons::icon(int index) } else { QString iconPath = QString("icons/database/").append(m_indexToName.at(index)); - QImage icon(dataPath()->getPath(iconPath)); + QImage icon(dataPath()->path(iconPath)); m_iconCache[index] = icon; return icon; -- cgit v1.2.3