| Summary: | Templates cannot be applied to To-Dos | ||
|---|---|---|---|
| Product: | [Applications] korganizer | Reporter: | steve |
| Component: | general | Assignee: | Reinhold Kainhofer <reinhold> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.5 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
steve
2005-12-10 19:31:50 UTC
Confirmed here. I assume the fix is (compiling and testing now):
Index: kotodoeditor.h
===================================================================
--- kotodoeditor.h (revision 486680)
+++ kotodoeditor.h (working copy)
@@ -95,7 +95,7 @@
protected:
void loadTemplate( /*const*/ CalendarLocal& );
QStringList& templates() const;
- QString type() { return "ToDo"; }
+ QString type() { return "Todo"; }
void setupGeneral();
void setupRecurrence();
int msgItemDelete();
Hrm, that patch doesn't seem to do anything. I guess someone with a clue will have to take a look :-) It could also be saving to the wrong place, but that would mean it is reading the wrong place too, to show the template lists. Shouldn't there be a single function for finding this folder, whether it is reading, writing or whatever? SVN commit 598910 by winterz:
Fix so you can actually use to-do templates after you create them.
Phil: your fix does work. perhaps you forgot to click the [apply templates] button?
BUGS: 118082
M +1 -1 kotodoeditor.h
--- branches/KDE/3.5/kdepim/korganizer/kotodoeditor.h #598909:598910
@@ -95,7 +95,7 @@
protected:
void loadTemplate( /*const*/ CalendarLocal& );
QStringList& templates() const;
- QString type() { return "ToDo"; }
+ QString type() { return "Todo"; }
void setupGeneral();
void setupRecurrence();
int msgItemDelete();
|