mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 10:13:42 +00:00
Tags are now visible on each task
This commit is contained in:
parent
bae67e6851
commit
839109b77b
6 changed files with 54 additions and 2 deletions
|
@ -123,9 +123,14 @@ void Backend::rebuildQMLTasksList() {
|
|||
lastDate = task.date;
|
||||
shouldShowDate = true;
|
||||
}
|
||||
QList<QString> qStringTags;
|
||||
for (auto& tag : task.getTags()) {
|
||||
qStringTags.push_back(QString::fromStdString(tag));
|
||||
}
|
||||
QMLTasks.push_back({
|
||||
.taskItem = &task,
|
||||
.shouldShowDate = shouldShowDate
|
||||
.shouldShowDate = shouldShowDate,
|
||||
.tags = qStringTags
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue