fix compile warning

Change-Id: If87725fa32a108d43b3198e5a38424092781863c
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2023-01-12 15:44:56 +01:00
committed by hjk
parent 3677932266
commit ccb6176a33

View File

@@ -30,7 +30,7 @@ static TextEditor::TextMarkCategory categoryForType(Task::TaskType type)
{ {
switch (type) { switch (type) {
case Task::Error: case Task::Error:
return {Tr::tr("Taskhub Error", TASK_MARK_ERROR)}; return {Tr::tr("Taskhub Error"), TASK_MARK_ERROR};
case Task::Warning: case Task::Warning:
return {Tr::tr("Taskhub Warning"), TASK_MARK_WARNING}; return {Tr::tr("Taskhub Warning"), TASK_MARK_WARNING};
default: default: