Issue warnings instead of errors for 'weird' tasks (#3646)

* Issue warnings instead of errors for 'weird' tasks

* Support more comprehensive checks when adding a task
This commit is contained in:
Dustin J. Mitchell
2024-10-22 15:15:51 -04:00
committed by GitHub
parent 4bf6144daf
commit 96c72f3e06
5 changed files with 43 additions and 17 deletions

View File

@@ -164,6 +164,7 @@ class Task {
void substitute(const std::string&, const std::string&, const std::string&);
#endif
void validate_add();
void validate(bool applyDefault = true);
float urgency_c() const;