c1c7d2894d
vokoscreen is an easy to use screencast creator to record educational videos, live recordings of browser, installation, videoconferences, etc. It uses Qt5 and ffmpeg.
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
|
|
index bbf2abf..187efad 100644
|
|
--- a/settings/QvkSettings.cpp
|
|
+++ b/settings/QvkSettings.cpp
|
|
@@ -56,17 +56,8 @@ void QvkSettings::readAll()
|
|
GIFPlayer = settings.value( "GIFplayer" ).toString();
|
|
Minimized = settings.value( "Minimized", 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" );
|
|
@@ -398,4 +389,4 @@ double QvkSettings::getShowClickTime()
|
|
int QvkSettings::getShowKeyOnOff()
|
|
{
|
|
return showKeyOnOff;
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|