Remove StartPage new file button gradient option

This commit is contained in:
qewer33
2023-08-16 14:33:55 +03:00
parent ee0cdc773d
commit 69d65bdedc
2 changed files with 2 additions and 30 deletions

View File

@@ -43,7 +43,7 @@
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="4" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<widget class="Gui::PrefCheckBox" name="checkBox_6">
<property name="toolTip">
<string>Displays help tips in the Start workbench Documents tab</string>
</property>
@@ -184,7 +184,7 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</widget>
</item>
<item row="5" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_8">
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
@@ -592,32 +592,6 @@ By using &quot;;;&quot; to separate paths, you can add several folders here</str
</item>
</layout>
</item>
<item row="12" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>Use gradient for New File icon</string>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_6">
<property name="toolTip">
<string>If this is selected, the 'New File' icon shows a gradient icon instead of the normal icon</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string/>
</property>
<property name="prefEntry" stdset="0">
<cstring>NewFileGradient</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Start</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>

View File

@@ -110,7 +110,6 @@ void DlgStartPreferencesImp::saveSettings()
ui->checkBox_5->onSave();
ui->checkBox_6->onSave();
ui->checkBox_7->onSave();
ui->checkBox_8->onSave();
ui->lineEdit->onSave();
ui->spinBox->onSave();
}
@@ -142,7 +141,6 @@ void DlgStartPreferencesImp::loadSettings()
ui->checkBox_5->onRestore();
ui->checkBox_6->onRestore();
ui->checkBox_7->onRestore();
ui->checkBox_8->onRestore();
ui->lineEdit->onRestore();
ui->spinBox->onRestore();
}