summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/debuggermanager.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/components/debugger/debuggermanager.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/components/debugger/debuggermanager.cpp')
-rw-r--r--quanta/components/debugger/debuggermanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/components/debugger/debuggermanager.cpp b/quanta/components/debugger/debuggermanager.cpp
index 4c5aaa58..b62b3e3b 100644
--- a/quanta/components/debugger/debuggermanager.cpp
+++ b/quanta/components/debugger/debuggermanager.cpp
@@ -341,8 +341,8 @@ void DebuggerManager::enableAction(const TQString& action, bool enable)
{
// The action may or may not exist, depending on capabilities of the debugger plugin
KActionCollection *ac = quantaApp->actionCollection();
- if(ac && ac->action(action))
- ac->action(action)->setEnabled(enable);
+ if(ac && ac->action(action.ascii()))
+ ac->action(action.ascii())->setEnabled(enable);
}
}