Commit 42665e79 authored by Jekyll Wu's avatar Jekyll Wu

Remove the per-profile option "AllowProgramsToResizeWindow"

  * It never works in KDE4
  * It is never revealed to users in KDE4
  * It is better to be a global and konsole-only option; does it make
    sense for a konsolepart to resize itself?
parent 5b8dd7df
......@@ -76,9 +76,6 @@ EditProfileDialog::EditProfileDialog(QWidget* aParent)
_ui = new Ui::EditProfileDialog();
_ui->setupUi(mainWidget());
// TODO: Re-enable in a later KDE 4.x release when this feature works again
_ui->enableResizeWindowButton->setVisible(false);
// there are various setupXYZPage() methods to load the items
// for each page and update their states to match the profile
// being edited.
......@@ -1031,10 +1028,6 @@ void EditProfileDialog::setupAdvancedPage(const Profile::Ptr profile)
_ui->enableFlowControlButton , Profile::FlowControlEnabled ,
SLOT(toggleFlowControl(bool))
},
{
_ui->enableResizeWindowButton , Profile::AllowProgramsToResizeWindow ,
SLOT(toggleResizeWindow(bool))
},
{
_ui->enableBlinkingCursorButton , Profile::BlinkingCursorEnabled ,
SLOT(toggleBlinkingCursor(bool))
......@@ -1143,10 +1136,6 @@ void EditProfileDialog::toggleFlowControl(bool enable)
{
updateTempProfileProperty(Profile::FlowControlEnabled, enable);
}
void EditProfileDialog::toggleResizeWindow(bool enable)
{
updateTempProfileProperty(Profile::AllowProgramsToResizeWindow, enable);
}
void EditProfileDialog::fontSelected(const QFont& aFont)
{
QFont previewFont = aFont;
......
......@@ -156,7 +156,6 @@ private slots:
// advanced page
void toggleBlinkingText(bool);
void toggleFlowControl(bool);
void toggleResizeWindow(bool);
void togglebidiRendering(bool);
void toggleBlinkingCursor(bool);
void TripleClickModeChanged(int);
......
......@@ -866,22 +866,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enableResizeWindowButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Allow terminal programs to resize the window</string>
</property>
<property name="text">
<string>Allow programs to resize terminal window</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="enableBidiRenderingButton">
<property name="sizePolicy">
......
......@@ -95,7 +95,6 @@ const Profile::PropertyInfo Profile::DefaultPropertyNames[] = {
// Terminal Features
, { BlinkingTextEnabled , "BlinkingTextEnabled" , TERMINAL_GROUP , QVariant::Bool }
, { FlowControlEnabled , "FlowControlEnabled" , TERMINAL_GROUP , QVariant::Bool }
, { AllowProgramsToResizeWindow , "AllowProgramsToResizeWindow" , TERMINAL_GROUP , QVariant::Bool }
, { BidiRenderingEnabled , "BidiRenderingEnabled" , TERMINAL_GROUP , QVariant::Bool }
, { BlinkingCursorEnabled , "BlinkingCursorEnabled" , TERMINAL_GROUP , QVariant::Bool }
, { BellMode , "BellMode" , TERMINAL_GROUP , QVariant::Int }
......@@ -164,7 +163,6 @@ FallbackProfile::FallbackProfile()
setProperty(ScrollBarPosition, ScrollBarRight);
setProperty(FlowControlEnabled, true);
setProperty(AllowProgramsToResizeWindow, true);
setProperty(BlinkingTextEnabled, true);
setProperty(UnderlineLinksEnabled, true);
setProperty(TripleClickMode, SelectWholeLine);
......
......@@ -158,10 +158,6 @@ public:
* Ctrl+Q) have any effect. Also known as Xon/Xoff
*/
FlowControlEnabled,
/** (bool) Specifies whether programs running in the terminal are
* allowed to resize the terminal display.
*/
AllowProgramsToResizeWindow,
/** (bool) Specifies whether the cursor blinks ( in a manner similar
* to text editing applications )
*/
......
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