From 6738827798d8885f79395748deaf9dcb1bd35d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 7 Sep 2020 18:13:43 +0200 Subject: [PATCH] Add methods to access ENLARGE_IMAGES setting --- YACReader/configuration.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YACReader/configuration.h b/YACReader/configuration.h index 0c35dbc1..b74d18c1 100644 --- a/YACReader/configuration.h +++ b/YACReader/configuration.h @@ -64,6 +64,8 @@ public: void setDoublePage(bool b) { settings->setValue(DOUBLE_PAGE, b); } bool getDoubleMangaPage() { return settings->value(DOUBLE_MANGA_PAGE).toBool(); } void setDoubleMangaPage(bool b) { settings->setValue(DOUBLE_MANGA_PAGE, b); } + bool getEnlargeImages() { return settings->value(ENLARGE_IMAGES, true).toBool(); } + void setEnlargeImages(bool b) { settings->setValue(ENLARGE_IMAGES, b); } QColor getBackgroundColor() { return settings->value(BACKGROUND_COLOR).value(); } void setBackgroundColor(const QColor &color) { settings->value(BACKGROUND_COLOR, color); }