diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-12-19 20:18:14 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-04 03:33:18 -0500 |
| commit | 72394faa750ac05871f62583c7c922879a20bc7b (patch) | |
| tree | c392c4e9c3f82e75df0bf77b0d990e8f2a739877 /src/filetreeitem.h | |
| parent | 2d276cad0b46d68e6886645559cd47c0165392fe (diff) | |
some optimizations to avoid case conversions and memory allocations
Diffstat (limited to 'src/filetreeitem.h')
| -rw-r--r-- | src/filetreeitem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filetreeitem.h b/src/filetreeitem.h index 516319ac..423038ba 100644 --- a/src/filetreeitem.h +++ b/src/filetreeitem.h @@ -37,6 +37,8 @@ public: const QString& virtualParentPath() const; QString virtualPath() const; const QString& filename() const; + const std::wstring& filenameWs() const; + const std::wstring& filenameWsLowerCase() const; const QString& mod() const; QFont font() const; @@ -68,6 +70,7 @@ private: QString m_virtualParentPath; QString m_realPath; Flags m_flags; + std::wstring m_wsFile, m_wsLcFile; QString m_file; QString m_mod; bool m_loaded; |
