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();
|
||||
onEnableAudioCaptureChanged();
|
||||
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
|
||||
|
|
|
@ -1922,7 +1922,7 @@
|
|||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
<layout class="QHBoxLayout" name="videoDumpLayout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="videoDumpingDirectory"/>
|
||||
</item>
|
||||
|
|
Loading…
Reference in New Issue