Commit 6af683ff authored by Tomaz  Canabrava's avatar Tomaz Canabrava

Disable Darkening Strength text

parent 54a510cc
......@@ -693,7 +693,7 @@
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_11">
<widget class="QLabel" name="dimLabel">
<property name="text">
<string>Darkening strength:</string>
</property>
......@@ -795,14 +795,30 @@
<y>249</y>
</hint>
<hint type="destinationlabel">
<x>205</x>
<y>277</y>
<x>461</x>
<y>288</y>
</hint>
</hints>
</connection>
<connection>
<sender>dimWhenInactiveCheckbox</sender>
<signal>clicked(bool)</signal>
<receiver>dimLabel</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>236</x>
<y>247</y>
</hint>
<hint type="destinationlabel">
<x>229</x>
<y>270</y>
</hint>
</hints>
</connection>
</connections>
<buttongroups>
<buttongroup name="cursorColor"/>
<buttongroup name="cursorShape"/>
<buttongroup name="cursorColor"/>
</buttongroups>
</ui>
......@@ -774,6 +774,8 @@ void EditProfileDialog::setupAppearancePage(const Profile::Ptr &profile)
&Konsole::EditProfileDialog::setDimWhenInactive);
_appearanceUi->dimValue->setValue(profile->dimValue());
_appearanceUi->dimValue->setEnabled(profile->dimWhenInactive());
_appearanceUi->dimLabel->setEnabled(profile->dimWhenInactive());
connect(_appearanceUi->dimValue, &QSlider::valueChanged,
this, &Konsole::EditProfileDialog::setDimValue);
}
......
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