Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
e52b6b0a
Commit
e52b6b0a
authored
Feb 05, 2011
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ViewContainer.cpp
View file @
e52b6b0a
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment