summaryrefslogtreecommitdiffstats
path: root/src/simplemainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplemainwindow.cpp')
-rw-r--r--src/simplemainwindow.cpp2
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())