diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-24 07:08:32 +0000 |
commit | 170a65dc2a13f0a664d269d3058ffeab129ae83c (patch) | |
tree | 7d7fe2c0ec292fd0d1564fc69ba5358316e0a006 /src | |
parent | 4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732 (diff) | |
download | tdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.tar.gz tdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.zip |
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r-- | src/simplemainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplemainwindow.cpp b/src/simplemainwindow.cpp index df720fa0..73164f86 100644 --- a/src/simplemainwindow.cpp +++ b/src/simplemainwindow.cpp @@ -577,7 +577,7 @@ void SimpleMainWindow::documentChangedState(const KURL &url, DocumentState state void SimpleMainWindow::closeTab() { // actionCollection()->action("file_close")->activate(); - if (sender()->isA("TQToolButton") && sender()->parent()->isA("DTabWidget")) + if (sender()->isA(TQTOOLBUTTON_OBJECT_NAME_STRING) && sender()->parent()->isA("DTabWidget")) { DTabWidget *tab = (DTabWidget*)sender()->parent(); if (tab && tab->currentPage()) |