aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/screenrecorder/screenrecorderplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/screenrecorder/screenrecorderplugin.cpp')
-rw-r--r--src/plugins/screenrecorder/screenrecorderplugin.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/screenrecorder/screenrecorderplugin.cpp b/src/plugins/screenrecorder/screenrecorderplugin.cpp
index 662e8cc24c..a816a276bc 100644
--- a/src/plugins/screenrecorder/screenrecorderplugin.cpp
+++ b/src/plugins/screenrecorder/screenrecorderplugin.cpp
@@ -135,9 +135,11 @@ public:
private:
void showDialogOrSettings()
{
- if (!Internal::settings().toolsRegistered() &&
- !Core::ICore::showOptionsDialog(Constants::TOOLSSETTINGSPAGE_ID)) {
- return;
+ if (!Internal::settings().toolsRegistered()) {
+ // Show options if ffmpeg/ffprobe are neither autodetected nor manually set
+ Core::ICore::showOptionsDialog(Constants::TOOLSSETTINGSPAGE_ID);
+ if (!Internal::settings().toolsRegistered())
+ return; // User did not set ffmpeg/ffprobe
}
ScreenRecorderDialog::showDialog();