summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantadoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/quantadoc.cpp')
-rw-r--r--quanta/src/quantadoc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/src/quantadoc.cpp b/quanta/src/quantadoc.cpp
index eb5c538f..31fb795b 100644
--- a/quanta/src/quantadoc.cpp
+++ b/quanta/src/quantadoc.cpp
@@ -268,7 +268,7 @@ void QuantaDoc::slotAttribPopup()
TQString name;
for (int i=0; i < tag->attrCount(); i++ )
- attrList.append( tag->attribute(i) );
+ attrList.append( tag->attribute(i).ascii() );
if ( QuantaCommon::isKnownTag(w->getDTDIdentifier(),tagName) )
{
@@ -281,7 +281,7 @@ void QuantaDoc::slotAttribPopup()
{
name = list->at(i)->name;
attribMenu->insertItem( name , i);//list->findIndex(*item) );
- if (attrList.contains(name))
+ if (attrList.contains(name.ascii()))
{
attribMenu->setItemEnabled( i , false );
}
@@ -297,7 +297,7 @@ void QuantaDoc::slotAttribPopup()
{
name = attrs->at(j)->name;
popUpMenu->insertItem(name, ++menuId);
- if (attrList.contains(name))
+ if (attrList.contains(name.ascii()))
{
popUpMenu->setItemEnabled( menuId , false );
}