diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 15:07:24 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-02 15:07:24 -0500 |
commit | 47e0ff88edd4660513f1d4f3d731008461532a13 (patch) | |
tree | 5b73ad0920101190e6e7cb558833e24f31ccdc4d /src/archive.cpp | |
parent | 99c6c809b961f2eb3c8538bfa50de7f2f98587ea (diff) |
Get and save user keybinds.
Diffstat (limited to 'src/archive.cpp')
-rw-r--r-- | src/archive.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/archive.cpp b/src/archive.cpp index d773f73..b4bee29 100644 --- a/src/archive.cpp +++ b/src/archive.cpp @@ -1,8 +1,5 @@ #include "archive.hpp" - -#include "main_window.hpp" - -#include <algorithm> +#include "config.hpp" namespace getsuyomi { @@ -46,6 +43,8 @@ ZipArchive::~ZipArchive() ZipArchive& ZipArchive::operator=(ZipArchive&& rhs) { + cleanup(); + m_archive = rhs.m_archive; m_sortedIndices = std::move(rhs.m_sortedIndices); m_filenames = std::move(rhs.m_filenames); |