summaryrefslogtreecommitdiff
path: root/src/shared/directoryentry.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-12-14 14:28:17 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-04 03:33:17 -0500
commit87868e1b22c27ebf10646269e89cc2848431c0b6 (patch)
treef98a371ee6abdb03f38514d9e4573d7508a902eb /src/shared/directoryentry.cpp
parentb6e91484ba90f95c67fcb0f31b966357daf3d709 (diff)
added a few missing consts
removed incorrect assert about an empty game edition added FileTree to wrap a QTreeView and a FileTreeModel, moved some context menu actions over
Diffstat (limited to 'src/shared/directoryentry.cpp')
-rw-r--r--src/shared/directoryentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp
index 00bf319e..9d49ce1e 100644
--- a/src/shared/directoryentry.cpp
+++ b/src/shared/directoryentry.cpp
@@ -433,7 +433,7 @@ std::wstring FileEntry::getRelativePath() const
return result + L"\\" + m_Name;
}
-bool FileEntry::isFromArchive(std::wstring archiveName)
+bool FileEntry::isFromArchive(std::wstring archiveName) const
{
if (archiveName.length() == 0) return m_Archive.first.length() != 0;
if (m_Archive.first.compare(archiveName) == 0) return true;