-rw-r--r-- | korganizer/kotodoviewitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp index 748f3e4..f62aab8 100644 --- a/korganizer/kotodoviewitem.cpp +++ b/korganizer/kotodoviewitem.cpp | |||
@@ -146,24 +146,25 @@ void KOTodoViewItem::construct() | |||
146 | 146 | ||
147 | } | 147 | } |
148 | 148 | ||
149 | } | 149 | } |
150 | } | 150 | } |
151 | setText(5,keyd); | 151 | setText(5,keyd); |
152 | setText(6,keyt); | 152 | setText(6,keyt); |
153 | setSortKey(5,skeyd); | 153 | setSortKey(5,skeyd); |
154 | setSortKey(6,skeyt); | 154 | setSortKey(6,skeyt); |
155 | 155 | ||
156 | setText(7,mTodo->cancelled() ? i18n("Yes") : i18n("No")); | 156 | setText(7,mTodo->cancelled() ? i18n("Yes") : i18n("No")); |
157 | setText(8,mTodo->categoriesStr()); | 157 | setText(8,mTodo->categoriesStr()); |
158 | setText(9,KOPrefs::instance()->calName( mTodo->calID())); | ||
158 | 159 | ||
159 | #if 0 | 160 | #if 0 |
160 | // Find sort id in description. It's the text behind the last '#' character | 161 | // Find sort id in description. It's the text behind the last '#' character |
161 | // found in the description. White spaces are removed from beginning and end | 162 | // found in the description. White spaces are removed from beginning and end |
162 | // of sort id. | 163 | // of sort id. |
163 | int pos = mTodo->description().findRev('#'); | 164 | int pos = mTodo->description().findRev('#'); |
164 | if (pos < 0) { | 165 | if (pos < 0) { |
165 | setText(6,""); | 166 | setText(6,""); |
166 | } else { | 167 | } else { |
167 | QString str = mTodo->description().mid(pos+1); | 168 | QString str = mTodo->description().mid(pos+1); |
168 | str.stripWhiteSpace(); | 169 | str.stripWhiteSpace(); |
169 | setText(6,str); | 170 | setText(6,str); |