X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fencodingprofilesdialog.cpp;h=857a7fd55dbdacde3e5bcc6c4c87fa59a6075adc;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=8d9401b7df116cf78b039474a7279e3452d76650;hpb=ddd3e50e4fc7f2744ad8de03650b66714441bc24;p=kdenlive diff --git a/src/encodingprofilesdialog.cpp b/src/encodingprofilesdialog.cpp index 8d9401b7..857a7fd5 100644 --- a/src/encodingprofilesdialog.cpp +++ b/src/encodingprofilesdialog.cpp @@ -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();