Make sure the user's preference to show or hide the close buttons takes effect

as soon as the changes are applied. Not after restarting Konqueror.

BUG: 121792
FIXED-IN: 4.8.1
GUI: Removed portion of a tool tip text that is no longer valid.
This commit is contained in:
Dawit Alemayehu 2012-01-29 01:09:29 -05:00
parent 803f50b4e7
commit 2f63fe74e5
2 changed files with 2 additions and 1 deletions

View file

@ -78,7 +78,7 @@
<item>
<widget class="QCheckBox" name="m_pPermanentCloseButton" >
<property name="whatsThis" >
<string>This will display close buttons inside each tab (Konqueror needs to be restarted for changes to take effect).</string>
<string>This will display close buttons inside each tab.</string>
</property>
<property name="text" >
<string>&amp;Show close button on tabs</string>

View file

@ -1616,6 +1616,7 @@ void KonqViewManager::createTabContainer(QWidget* parent, KonqFrameContainerBase
void KonqViewManager::applyConfiguration()
{
tabContainer()->setAlwaysTabbedMode( KonqSettings::alwaysTabbedMode() );
tabContainer()->setTabsClosable( KonqSettings::permanentCloseButton() );
}
KonqMainWindow* KonqViewManager::duplicateWindow()