]> git.sesse.net Git - kdenlive/commitdiff
Fix compilation with KDE < 4.2
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 13 Mar 2009 09:38:58 +0000 (09:38 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 13 Mar 2009 09:38:58 +0000 (09:38 +0000)
svn path=/trunk/kdenlive/; revision=3147

src/kdenlivesettingsdialog.cpp

index 630b788cfdf3bdc2b9ae7c57b0c1407a873534a1..02f44690424a2c222f236e6510721ad8b78146ee 100644 (file)
@@ -380,9 +380,9 @@ void KdenliveSettingsDialog::updateSettings() {
         resetProfile = true;
     }
 
-    if (m_configEnv.capturefolderurl->text() != KdenliveSettings::capturefolder()) {
+    if (m_configEnv.capturefolderurl->url().path() != KdenliveSettings::capturefolder()) {
         kDebug() << "/// CAPT FOLDER UPDATED";
-        KdenliveSettings::setCapturefolder(m_configEnv.capturefolderurl->text());
+        KdenliveSettings::setCapturefolder(m_configEnv.capturefolderurl->url().path());
         emit updateCaptureFolder();
     }