mirror of https://github.com/PCSX2/pcsx2.git
Qt: Hide Video Recording Directory option per-game
This commit is contained in:
parent
62c5309b23
commit
99a30733c1
|
@ -402,6 +402,18 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsWindow* dialog, QWidget*
|
||||||
onVideoCaptureAutoResolutionChanged();
|
onVideoCaptureAutoResolutionChanged();
|
||||||
onEnableAudioCaptureChanged();
|
onEnableAudioCaptureChanged();
|
||||||
onEnableAudioCaptureArgumentsChanged();
|
onEnableAudioCaptureArgumentsChanged();
|
||||||
|
|
||||||
|
if (m_dialog->isPerGameSettings())
|
||||||
|
{
|
||||||
|
m_ui.recordingTabLayout->removeWidget(m_ui.videoDumpDirectory);
|
||||||
|
m_ui.videoDumpDirectory->deleteLater();
|
||||||
|
m_ui.videoDumpDirectory = nullptr;
|
||||||
|
m_ui.videoDumpLayout = nullptr;
|
||||||
|
m_ui.videoDumpingDirectory = nullptr;
|
||||||
|
m_ui.videoDumpingDirectoryBrowse = nullptr;
|
||||||
|
m_ui.videoDumpingDirectoryOpen = nullptr;
|
||||||
|
m_ui.videoDumpingDirectoryReset = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display tab
|
// Display tab
|
||||||
|
|
|
@ -1922,7 +1922,7 @@
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
<layout class="QHBoxLayout" name="videoDumpLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="videoDumpingDirectory"/>
|
<widget class="QLineEdit" name="videoDumpingDirectory"/>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue