Rename getPath() -> path().

This commit is contained in:
Felix Geyer 2012-01-06 15:49:52 +01:00
parent 50e5b24740
commit fea148803c
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
#include "config-keepassx.h"
QString DataPath::getPath(const QString& name)
QString DataPath::path(const QString& name)
{
return m_basePath + name;
}

View File

@ -24,7 +24,7 @@
class DataPath
{
public:
QString getPath(const QString& name);
QString path(const QString& name);
QIcon applicationIcon();
private:

View File

@ -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;