aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-22 07:09:06 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-22 07:09:06 +0200
commite5518e0d876287d047312a59263d35bd567b2c0c (patch)
treed7485414683c45774ee0b89c46ce8edeb6ed3c09
parent8c5253f85d5f0071cf1969c417046f5fbb3d2edf (diff)
wrong path for manga process dir...
-rw-r--r--src/QuickMedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index e9aa7e9..e155fb3 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1385,7 +1385,7 @@ namespace QuickMedia {
Path content_storage_dir = get_storage_dir().join(plugin_name);
if(create_directory_recursive(content_storage_dir) != 0) {
show_notification("QuickMedia", "Failed to create directory: " + content_storage_dir.data, Urgency::CRITICAL);
- exit(1);
+ abort();
}
time_t now = time(NULL);
@@ -1760,7 +1760,7 @@ namespace QuickMedia {
window.setKeyRepeatEnabled(false);
downloading_chapter_url.clear();
- Path manga_progress_dir = get_storage_dir().join(manga_images_page->get_service_name()).join(manga_id_base64);
+ Path manga_progress_dir = get_storage_dir().join(manga_images_page->get_service_name());
if(create_directory_recursive(manga_progress_dir) != 0) {
show_notification("QuickMedia", "Failed to create directory: " + manga_progress_dir.data, Urgency::CRITICAL);
current_page = pop_page_stack();