From 43cd44c061d1582c60b9b0a570e31d76a3bf492a Mon Sep 17 00:00:00 2001 From: Arthur Tazhitdinov Date: Mon, 26 Jan 2026 14:27:12 +0500 Subject: [PATCH] refactor: Remove MIN_SIZE_FOR_PROGRESS constant from ChapterHtmlSlimParser --- lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h index afdf86d3..5355211a 100644 --- a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h +++ b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.h @@ -15,11 +15,6 @@ class GfxRenderer; #define MAX_WORD_SIZE 200 class ChapterHtmlSlimParser { - public: - // Minimum file size (in bytes) to show progress bar - smaller chapters don't benefit from it. - static constexpr size_t MIN_SIZE_FOR_PROGRESS = 50 * 1024; // 50KB - - private: const std::string& filepath; GfxRenderer& renderer; std::function)> completePageFn;