From e16d333ec2e8509fc665921ca106c25325bae9e0 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sat, 09 Aug 2003 16:24:58 +0000 Subject: Merge from BRANCH_1_0 --- (limited to 'noncore/apps/tableviewer/ui') diff --git a/noncore/apps/tableviewer/ui/tvbrowseview.cpp b/noncore/apps/tableviewer/ui/tvbrowseview.cpp index f5f2555..22bac55 100644 --- a/noncore/apps/tableviewer/ui/tvbrowseview.cpp +++ b/noncore/apps/tableviewer/ui/tvbrowseview.cpp @@ -23,6 +23,7 @@ #include #include #include +#include "../xmlencodeattr.h" /*! \class TVBrowseView @@ -102,12 +103,12 @@ void TVBrowseView::setDisplayText(const DataElem *element) if (element->hasValidValue(it.currentKey())) { if(it.currentKey() == ts->current_column) { rep += "" - + it.current()->name() + + encodeAttr(it.current()->name()) + ": "; } else { - rep += "" + it.current()->name() + ": "; + rep += "" + encodeAttr(it.current()->name()) + ": "; } - rep += element->toQString(it.currentKey()) + "
"; + rep += encodeAttr(element->toQString(it.currentKey())) + "
"; } ++it; } -- cgit v0.9.0.2