summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
authorjowenn <jowenn>2002-11-11 20:37:06 (UTC)
committer jowenn <jowenn>2002-11-11 20:37:06 (UTC)
commitda541da2e5cec28acb36cbd6e9c04a76375b4ac7 (patch) (side-by-side diff)
treef016ecc7faaeb45f03674e7239982645da42e8cc /noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp
parent6a0fc9de7e89357095b9efc3dace5c92042291ac (diff)
downloadopie-da541da2e5cec28acb36cbd6e9c04a76375b4ac7.zip
opie-da541da2e5cec28acb36cbd6e9c04a76375b4ac7.tar.gz
opie-da541da2e5cec28acb36cbd6e9c04a76375b4ac7.tar.bz2
Read keyword lists again
Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katesyntaxdocument.cpp') (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
@@ -296,9 +296,10 @@ QStringList& SyntaxDocument::finddata(const QString& mainGroup,const QString& ty
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;
}
}