diff --git a/effects/videorecord_config.cpp b/effects/videorecord_config.cpp index afdfb6eaac..0cf291a18c 100644 --- a/effects/videorecord_config.cpp +++ b/effects/videorecord_config.cpp @@ -101,7 +101,10 @@ void VideoRecordEffectConfig::save() KConfigGroup conf = EffectsHandler::effectConfig("VideoRecord"); - conf.writeEntry("videopath", saveVideo->url().path()); + if( saveVideo->url().isEmpty() ) + conf.writeEntry("videopath", KGlobalSettings::documentPath()); + else + conf.writeEntry("videopath", saveVideo->url().path()); conf.sync();