diff options
| author | xiphon <xiphon@protonmail.com> | 2020-04-24 00:43:40 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-04-24 00:43:40 +0000 |
| commit | a99eef68f5e621f78df3b8f54e0b44a6178437f5 (patch) | |
| tree | 567dcf5abb47fb1e2b28ec620de2a4199e42b5aa /src/qt/KeysFiles.h | |
| parent | 585fb2810dc0d9b79255b9bd479559b36aa087d8 (diff) | |
| download | monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.gz monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.xz monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.zip | |
always use native directory separators in paths
Diffstat (limited to 'src/qt/KeysFiles.h')
| -rw-r--r-- | src/qt/KeysFiles.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qt/KeysFiles.h b/src/qt/KeysFiles.h index 6a9339e3..fca10003 100644 --- a/src/qt/KeysFiles.h +++ b/src/qt/KeysFiles.h @@ -37,14 +37,16 @@ class WalletKeysFiles { public: - WalletKeysFiles(const qint64 &modified, const QString &path, const quint8 &networkType, const QString &address); + WalletKeysFiles(const QFileInfo &info, quint8 networkType, QString address); + QString fileName() const; qint64 modified() const; QString path() const; quint8 networkType() const; QString address() const; private: + QString m_fileName; qint64 m_modified; QString m_path; quint8 m_networkType; @@ -56,7 +58,8 @@ class WalletKeysFilesModel : public QAbstractListModel Q_OBJECT public: enum KeysFilesRoles { - ModifiedRole = Qt::UserRole + 1, + FileNameRole = Qt::UserRole + 1, + ModifiedRole, PathRole, NetworkTypeRole, AddressRole |
