From f3683ee93e7cbde38c0f81b4ad9d8344c3f80995 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sun, 13 Dec 2020 15:08:05 +0100 Subject: [PATCH] Remove unused parts library pathname member variables. --- common/lc_library.cpp | 5 ----- common/lc_library.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/common/lc_library.cpp b/common/lc_library.cpp index a5dbf788..4eb13c29 100644 --- a/common/lc_library.cpp +++ b/common/lc_library.cpp @@ -330,11 +330,6 @@ bool lcPiecesLibrary::OpenArchive(lcFile* File, const QString& FileName, lcZipFi mZipFiles[ZipFileType] = ZipFile; - if (ZipFileType == LC_ZIPFILE_OFFICIAL) - mLibraryFileName = FileName; - else - mUnofficialFileName = FileName; - for (int FileIdx = 0; FileIdx < ZipFile->mFiles.GetSize(); FileIdx++) { lcZipFileInfo& FileInfo = ZipFile->mFiles[FileIdx]; diff --git a/common/lc_library.h b/common/lc_library.h index 0c8e197c..8d4c6474 100644 --- a/common/lc_library.h +++ b/common/lc_library.h @@ -194,8 +194,6 @@ protected: QString mCachePath; qint64 mArchiveCheckSum[4]; - QString mLibraryFileName; - QString mUnofficialFileName; lcZipFile* mZipFiles[LC_NUM_ZIPFILES]; bool mHasUnofficial; bool mCancelLoading;