Qt: Remove preset buttons from post settings

This commit is contained in:
Connor McLaughlin 2021-11-20 11:23:51 +10:00
parent 61f7e99508
commit 13f1027f59
2 changed files with 0 additions and 24 deletions

View File

@ -10,8 +10,6 @@ PostProcessingSettingsWidget::PostProcessingSettingsWidget(QtHostInterface* host
m_ui.setupUi(this); m_ui.setupUi(this);
m_ui.widget->setOptionsButtonVisible(false); m_ui.widget->setOptionsButtonVisible(false);
m_ui.reload->setEnabled(false); m_ui.reload->setEnabled(false);
m_ui.loadPreset->setEnabled(false);
m_ui.savePreset->setEnabled(false);
updateShaderConfigPanel(-1); updateShaderConfigPanel(-1);
connectUi(); connectUi();

View File

@ -59,28 +59,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="loadPreset">
<property name="text">
<string>Load Preset</string>
</property>
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/document-save.png</normaloff>:/icons/document-save.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="savePreset">
<property name="text">
<string>Save Preset</string>
</property>
<property name="icon">
<iconset resource="resources/resources.qrc">
<normaloff>:/icons/document-open.png</normaloff>:/icons/document-open.png</iconset>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>