diff options
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 6d74fb5d..c9ae3e08 100644 --- a/src/simplemainwindow.cpp +++ b/src/simplemainwindow.cpp @@ -588,7 +588,7 @@ void SimpleMainWindow::documentChangedState(const KURL &url, DocumentState state void SimpleMainWindow::closeTab() { // actionCollection()->action("file_close")->activate(); - if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->isA(TQTOOLBUTTON_OBJECT_NAME_STRING) && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent()->isA("DTabWidget")) + if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->isA("TQToolButton") && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent()->isA("DTabWidget")) { DTabWidget *tab = (DTabWidget*)TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent(); if (tab && tab->currentPage()) |