mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 04:04:18 -04:00
Disable tab close methods until the issue of menu being trashed can be resolved.
CCBUG: 185466 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1217498
This commit is contained in:
@@ -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)) );
|
||||
@@ -495,9 +496,9 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
|
||||
i18nc("@action:inmenu", "&Rename Tab..."), this,
|
||||
SLOT(tabContextMenuRenameTab()));
|
||||
|
||||
_contextPopupMenu->addAction(KIcon("tab-close"),
|
||||
i18nc("@action:inmenu", "&Close Tab"), this,
|
||||
SLOT(tabContextMenuCloseTab()));
|
||||
// _contextPopupMenu->addAction(KIcon("tab-close"),
|
||||
// i18nc("@action:inmenu", "&Close Tab"), this,
|
||||
// SLOT(tabContextMenuCloseTab()));
|
||||
|
||||
}
|
||||
void TabbedViewContainer::setNewViewMenu(QMenu* menu)
|
||||
|
||||
Reference in New Issue
Block a user