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/utility/tagaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quanta/utility/tagaction.cpp') diff --git a/quanta/utility/tagaction.cpp b/quanta/utility/tagaction.cpp index 28d37450..9787d047 100644 --- a/quanta/utility/tagaction.cpp +++ b/quanta/utility/tagaction.cpp @@ -74,7 +74,7 @@ int MyProcess::commSetupDoneC() TagAction::TagAction( TQDomElement *element, KMainWindow *parentMainWindow, bool toggle) : KToggleAction(element->attribute("text").isEmpty() ? TQString("") : i18n(element->attribute("text").utf8()), - KShortcut(element->attribute("shortcut")), 0, 0, parentMainWindow->actionCollection(), element->attribute("name")), + KShortcut(element->attribute("shortcut")), 0, 0, parentMainWindow->actionCollection(), element->attribute("name").ascii()), //disable toggle now m_toggle(toggle) m_toggle(false) { -- cgit v1.2.1