From 7af884d886e2428d5b28e9cf7d81c97d7e378123 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 16 Jan 2011 14:35:51 +0000 Subject: [kdewebdev/quanta] fix deprecation warnings; make compatible with QT_NO_ASCII_CAST flag git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1214823 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/src/dtds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quanta/src/dtds.cpp') diff --git a/quanta/src/dtds.cpp b/quanta/src/dtds.cpp index 9943904a..cc25516f 100644 --- a/quanta/src/dtds.cpp +++ b/quanta/src/dtds.cpp @@ -784,7 +784,7 @@ void DTDs::setAttributes(TQDomNode *dom, QTag* tag, bool &common) tag->className = el.attribute("class", ""); tag->comment = el.attribute("comment", ""); if (!tag->comment.isEmpty()) - tag->comment = " [" + i18n(tag->comment) + "] "; + tag->comment = " [" + i18n(tag->comment.ascii()) + "] "; tag->comment.prepend(el.attribute("version")); } else { -- cgit v1.2.1