mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-05 01:15:33 -05:00
Rename getPath() -> path().
This commit is contained in:
parent
50e5b24740
commit
fea148803c
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "config-keepassx.h"
|
#include "config-keepassx.h"
|
||||||
|
|
||||||
QString DataPath::getPath(const QString& name)
|
QString DataPath::path(const QString& name)
|
||||||
{
|
{
|
||||||
return m_basePath + name;
|
return m_basePath + name;
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
class DataPath
|
class DataPath
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QString getPath(const QString& name);
|
QString path(const QString& name);
|
||||||
QIcon applicationIcon();
|
QIcon applicationIcon();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -31,7 +31,7 @@ QImage DatabaseIcons::icon(int index)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QString iconPath = QString("icons/database/").append(m_indexToName.at(index));
|
QString iconPath = QString("icons/database/").append(m_indexToName.at(index));
|
||||||
QImage icon(dataPath()->getPath(iconPath));
|
QImage icon(dataPath()->path(iconPath));
|
||||||
|
|
||||||
m_iconCache[index] = icon;
|
m_iconCache[index] = icon;
|
||||||
return icon;
|
return icon;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user