-rw-r--r-- | noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp | 7 |
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 @@ -293,15 +293,16 @@ QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& ty { if (e1->tagName()!="list") continue; if (e1->attribute("name")==type) { for (Opie::XMLElement *e2=e1->firstChild();e2;e2=e2->nextChild()) - qDebug("FOUND A LIST ENTRY("+e2->tagName()+"):"+e2->value()); - m_data+="TEST";//e2->value().stripWhiteSpace(); - + { + qDebug("FOUND A LIST ENTRY("+e2->tagName()+"):"+e2->firstChild()->value()); + m_data+=e2->firstChild()->value().stripWhiteSpace(); + } break; } } break; } } |