]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 26 Jun 2009 23:18:07 +0000 (23:18 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 26 Jun 2009 23:18:07 +0000 (23:18 +0000)
svn path=/trunk/kdenlive/; revision=3675

src/wizard.cpp

index 97973dad5873ffff0f9536326e189bd2a2d1cc56..d7ce009c28a5aff3a93c7ff84d741676337e3d27 100644 (file)
@@ -352,10 +352,10 @@ void Wizard::slotCheckPrograms()
         if (program.isEmpty()) program = KStandardDirs::findExe("traverso");
         if (!program.isEmpty()) KdenliveSettings::setDefaultaudioapp(program);
     }
-    if (KdenliveSettings::defaultvideoapp().isEmpty()) {
+    if (KdenliveSettings::defaultplayerapp().isEmpty()) {
         KService::Ptr offer = KMimeTypeTrader::self()->preferredService("video/mpeg");
         if (offer)
-            KdenliveSettings::setDefaultvideoapp(KRun::binaryName(offer->exec(), true));
+            KdenliveSettings::setDefaultplayerapp(KRun::binaryName(offer->exec(), true));
     }
 }