Commit e52b6b0a authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Disable tab close methods until the issue of menu being trashed can be

resolved.

Backport to 4.6 branch.
CCBUG: 185466
parent 18dd5bd0
......@@ -443,6 +443,7 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
_closeTabButton->setIcon(KIcon("tab-close"));
_closeTabButton->adjustSize();
_closeTabButton->setHidden(true);
_closeTabButton->setEnabled(false);
connect( _tabBar , SIGNAL(currentChanged(int)) , this , SLOT(currentTabChanged(int)) );
connect( _tabBar , SIGNAL(tabDoubleClicked(int)) , this , SLOT(tabDoubleClicked(int)) );
......@@ -494,11 +495,11 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
_contextPopupMenu->addAction(KIcon(),
i18nc("@action:inmenu", "&Rename Tab..."), this,
SLOT(tabContextMenuRenameTab()));
/*
_contextPopupMenu->addAction(KIcon("tab-close"),
i18nc("@action:inmenu", "&Close Tab"), this,
SLOT(tabContextMenuCloseTab()));
*/
}
void TabbedViewContainer::setNewViewMenu(QMenu* menu)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment