summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
index 3390bdb..e45daa4 100644
--- a/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
+++ b/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
@@ -291,19 +291,20 @@ QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& ty
291 { 291 {
292 for (Opie::XMLElement *e1=e->firstChild();e1;e1=e1->nextChild()) 292 for (Opie::XMLElement *e1=e->firstChild();e1;e1=e1->nextChild())
293 { 293 {
294 if (e1->tagName()!="list") continue; 294 if (e1->tagName()!="list") continue;
295 295
296 if (e1->attribute("name")==type) 296 if (e1->attribute("name")==type)
297 { 297 {
298 for (Opie::XMLElement *e2=e1->firstChild();e2;e2=e2->nextChild()) 298 for (Opie::XMLElement *e2=e1->firstChild();e2;e2=e2->nextChild())
299 qDebug("FOUND A LIST ENTRY("+e2->tagName()+"):"+e2->value()); 299 {
300 m_data+="TEST";//e2->value().stripWhiteSpace(); 300 qDebug("FOUND A LIST ENTRY("+e2->tagName()+"):"+e2->firstChild()->value());
301 301 m_data+=e2->firstChild()->value().stripWhiteSpace();
302 }
302 break; 303 break;
303 } 304 }
304 } 305 }
305 break; 306 break;
306 } 307 }
307 } 308 }
308 309
309 return m_data; 310 return m_data;