summaryrefslogtreecommitdiffstats
path: root/quanta/utility/qpevents.cpp
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:35:51 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:35:51 +0000
commit7af884d886e2428d5b28e9cf7d81c97d7e378123 (patch)
tree64fe5f9f02f7d338baa54c3a380e43a66ae45f8f /quanta/utility/qpevents.cpp
parentaf2166652dfcfacffa91a7e1466e3abed19862ce (diff)
downloadtdewebdev-7af884d886e2428d5b28e9cf7d81c97d7e378123.tar.gz
tdewebdev-7af884d886e2428d5b28e9cf7d81c97d7e378123.zip
[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
Diffstat (limited to 'quanta/utility/qpevents.cpp')
-rw-r--r--quanta/utility/qpevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quanta/utility/qpevents.cpp b/quanta/utility/qpevents.cpp
index 7bad8715..3426b83f 100644
--- a/quanta/utility/qpevents.cpp
+++ b/quanta/utility/qpevents.cpp
@@ -321,7 +321,7 @@ bool QPEvents::handleEvent(const EventAction& ev)
if (ev.action == "script" || ev.action =="action")
{
TQString name = ev.arguments[0];
- KAction *action = quantaApp->actionCollection()->action(name);
+ KAction *action = quantaApp->actionCollection()->action(name.ascii());
TagAction *tagAction = dynamic_cast<TagAction*>(action);
if (tagAction)
{