Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
967 B
Diff
24 lines
967 B
Diff
diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
|
|
index 3008e62..07485bd 100644
|
|
--- a/settings/QvkSettings.cpp
|
|
+++ b/settings/QvkSettings.cpp
|
|
@@ -66,17 +66,8 @@ void QvkSettings::readAll()
|
|
Minimized = settings.value( "Minimized", 0 ).toUInt();
|
|
MinimizedByStart = settings.value( "MinimizedByStart", 0 ).toUInt();
|
|
Countdown = settings.value( "Countdown", 0 ).toUInt();
|
|
- QFile file;
|
|
- if ( file.exists( qApp->applicationDirPath().append( "/bin/ffmpeg" ) ) == true )
|
|
- {
|
|
- vokoscreenWithLibs = true;
|
|
- Recorder = qApp->applicationDirPath().append( "/bin/ffmpeg" );
|
|
- }
|
|
- else
|
|
- {
|
|
- vokoscreenWithLibs = false;
|
|
- Recorder = settings.value( "Recorder", "ffmpeg" ).toString();
|
|
- }
|
|
+ vokoscreenWithLibs = true;
|
|
+ Recorder = settings.value( "Recorder", "@ffmpeg@/bin/ffmpeg" ).toString();
|
|
settings.endGroup();
|
|
|
|
settings.beginGroup( "Videooptions" );
|