diff options
-rw-r--r-- | src/QuickMedia.cpp | 4 |
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(); |