]> git.sesse.net Git - kdenlive/blobdiff - src/encodingprofilesdialog.cpp
Use char for single character [krazy 1-44] by Mikko Rapeli
[kdenlive] / src / encodingprofilesdialog.cpp
index 6a88d1653001ba87a035b68465a217bda53d285d..59116f7424841794caa9413204ab81a879ad18ac 100644 (file)
@@ -102,7 +102,7 @@ void EncodingProfilesDialog::slotShowParams()
     profile_parameters->clear();
     QListWidgetItem *item = profile_list->currentItem();
     if (!item) return;
-    profile_parameters->setPlainText(item->data(Qt::UserRole).toString().section(";", 0, 0));
+    profile_parameters->setPlainText(item->data(Qt::UserRole).toString().section(';', 0, 0));
 }
 
 void EncodingProfilesDialog::slotDeleteProfile()
@@ -136,11 +136,11 @@ void EncodingProfilesDialog::slotAddProfile()
     QListWidgetItem *item = profile_list->currentItem();
     if (item) {
         QString data = item->data(Qt::UserRole).toString();
-        pparams->setPlainText(data.section(";", 0, 0));
-        pext->setText(data.section(";", 1, 1));
+        pparams->setPlainText(data.section(';', 0, 0));
+        pext->setText(data.section(';', 1, 1));
     }
     if (d->exec() == QDialog::Accepted) {
-        m_configGroup->writeEntry(pname->text(), pparams->toPlainText() + ";" + pext->text());
+        m_configGroup->writeEntry(pname->text(), pparams->toPlainText() + ';' + pext->text());
         slotLoadProfiles();
     }
     delete d;
@@ -169,12 +169,12 @@ void EncodingProfilesDialog::slotEditProfile()
     if (item) {
         pname->setText(item->text());
         QString data = item->data(Qt::UserRole).toString();
-        pparams->setPlainText(data.section(";", 0, 0));
-        pext->setText(data.section(";", 1, 1));
+        pparams->setPlainText(data.section(';', 0, 0));
+        pext->setText(data.section(';', 1, 1));
         pparams->setFocus();
     }
     if (d->exec() == QDialog::Accepted) {
-        m_configGroup->writeEntry(pname->text(), pparams->toPlainText() + ";" + pext->text());
+        m_configGroup->writeEntry(pname->text(), pparams->toPlainText() + ';' + pext->text());
         slotLoadProfiles();
     }
     delete d;