mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Rename getPath() -> path().
This commit is contained in:
parent
50e5b24740
commit
fea148803c
@ -22,7 +22,7 @@
|
||||
|
||||
#include "config-keepassx.h"
|
||||
|
||||
QString DataPath::getPath(const QString& name)
|
||||
QString DataPath::path(const QString& name)
|
||||
{
|
||||
return m_basePath + name;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
class DataPath
|
||||
{
|
||||
public:
|
||||
QString getPath(const QString& name);
|
||||
QString path(const QString& name);
|
||||
QIcon applicationIcon();
|
||||
|
||||
private:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user