From 47e0ff88edd4660513f1d4f3d731008461532a13 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 2 Oct 2024 15:07:24 -0500 Subject: Get and save user keybinds. --- src/archive.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/archive.cpp') 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 +#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); -- cgit v1.2.3