]> git.sesse.net Git - kdenlive/blobdiff - src/encodingprofilesdialog.cpp
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / encodingprofilesdialog.cpp
index 8d9401b7df116cf78b039474a7279e3452d76650..857a7fd55dbdacde3e5bcc6c4c87fa59a6075adc 100644 (file)
@@ -70,19 +70,19 @@ void EncodingProfilesDialog::slotLoadProfiles()
     profile_list->clear();
     QString group;
     switch (profile_type->currentIndex()) {
-        case 0: 
-            group = "proxy";
-            break;          
-        case 1: 
-            group = "video4linux";
-            break;
-       case 2: 
-            group = "screengrab";
-            break;
-        default:
-        case 3: 
-            group = "decklink";
-            break;
+    case 0:
+        group = "proxy";
+        break;
+    case 1:
+        group = "video4linux";
+        break;
+    case 2:
+        group = "screengrab";
+        break;
+    default:
+    case 3:
+        group = "decklink";
+        break;
     }
 
     delete m_configGroup;
@@ -105,14 +105,16 @@ void EncodingProfilesDialog::slotShowParams()
 {
     profile_parameters->clear();
     QListWidgetItem *item = profile_list->currentItem();
-    if (!item) return;
+    if (!item)
+        return;
     profile_parameters->setPlainText(item->data(Qt::UserRole).toString().section(';', 0, 0));
 }
 
 void EncodingProfilesDialog::slotDeleteProfile()
 {
     QListWidgetItem *item = profile_list->currentItem();
-    if (!item) return;
+    if (!item)
+        return;
     QString profile = item->text();
     m_configGroup->deleteEntry(profile);
     slotLoadProfiles();