From a01366aed10563517f7bd9cde439b250bec7710d Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Fri, 16 Jun 2023 17:24:16 -0400 Subject: Clarify with comment Archive::find_attachment_dir --- src/archive_parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/archive_parser.cpp b/src/archive_parser.cpp index 8c54a55..97858c6 100644 --- a/src/archive_parser.cpp +++ b/src/archive_parser.cpp @@ -369,9 +369,10 @@ void Archive::find_attachment_dir(QString example_attachment) { attachment_dir_have_to_find = false; if (not attachment_dir.exists()) - // This shouldn't happen, but log it in case' + // This shouldn't happen, but log it in case qDebug() << "Attachment dir does not exist!" << attachment_dir.canonicalPath(); return; } } + // If the attachment directory wasn't found, it will be searched for next attachment url parsing as attachment_dir_have_to_find wasn't touched (and is still true) } -- cgit v1.2.3-54-g00ecf