From e168af8d7d9a500759565719f16ed188ba8a8bcd Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 29 Sep 2026 16:52:59 +0200 Subject: feat: parse the launch selectors as a value type --account, --thread and --message, plus the payload that crosses the socket. A value type with no GUI dependency: it is parsed before QApplication exists and both halves need tests no window has to be built for. QDataStream rather than a line-based payload, because a Message-ID may contain a newline. Every read is status-checked, which is what catches a truncated payload: a short read otherwise leaves the fields default-constructed and a half-written id would be applied as an empty one. Co-Authored-By: Claude Opus 5.5 --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0940e4f..ca26933 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,6 +53,7 @@ add_library(qtmaildir_lib STATIC agendaview.cpp eventpane.cpp calendarwindow.cpp + launchselectors.cpp ) target_include_directories(qtmaildir_lib -- cgit v1.2.3