refactor: Remove empty caption from ThreadSafeQuestion

There is only one call-site, which provided an empty caption.

Note that noui_ThreadSafeQuestionRedirect is test-only and currently
entrirely unused, so the logging format string change is not a behavior
change.

This refactor does not change any behavior.
This commit is contained in:
MarcoFalke
2026-01-13 18:13:43 +01:00
parent fa0195499c
commit fa8d0088e7
7 changed files with 10 additions and 11 deletions

View File

@@ -225,7 +225,6 @@ public:
//! Register handler for question messages.
using QuestionFn = std::function<bool(const bilingual_str& message,
const std::string& non_interactive_message,
const std::string& caption,
unsigned int style)>;
virtual std::unique_ptr<Handler> handleQuestion(QuestionFn fn) = 0;