Add a checkbox to hide the size widget upon resizing window.

Re-add the KDE 3 option to show/hide the size widget when the window is
changed.

Patch is years old from Chali Ahmul M.P.U <chali.ahmul@atlas.cz>
FEATURE: 169054
FIXED-IN: 4.8
This commit is contained in:
Kurt Hindenburg
2011-07-31 20:56:16 -04:00
parent febd3c63da
commit b40a006db8
8 changed files with 38 additions and 0 deletions

View File

@@ -868,6 +868,9 @@ void ViewManager::applyProfile(TerminalDisplay* view , const Profile::Ptr info,
else if ( scrollBarPosition == Profile::ScrollBarRight )
view->setScrollBarPosition(TerminalDisplay::ScrollBarRight);
// set visibility of the size widget
view->setSizeWidgetVisibility(info->property<bool>(Profile::ShowSizeWidget));
// terminal features
bool blinkingCursor = info->property<bool>(Profile::BlinkingCursorEnabled);
view->setBlinkingCursor(blinkingCursor);