X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprofilesdialog.cpp;h=8fc0b01882fb37d045bb317d681dd76a5dea6fe7;hb=07c0f30adea324a848d8c09ce9fe409819855dd7;hp=8c5c668d344b5e8bb209126372793da5f01caeb2;hpb=f223c83a30c943983283f5e9eacc5bbcc8278329;p=kdenlive diff --git a/src/profilesdialog.cpp b/src/profilesdialog.cpp index 8c5c668d..8fc0b018 100644 --- a/src/profilesdialog.cpp +++ b/src/profilesdialog.cpp @@ -571,7 +571,8 @@ void ProfilesDialog::slotUpdateDisplay(QString currentProfile) } QLocale locale; m_selectedProfileIndex = m_view.profiles_list->currentIndex(); - if (currentProfile.isEmpty()) currentProfile = m_view.profiles_list->itemData(m_view.profiles_list->currentIndex()).toString(); + if (currentProfile.isEmpty()) + currentProfile = m_view.profiles_list->itemData(m_view.profiles_list->currentIndex()).toString(); m_isCustomProfile = currentProfile.contains('/'); m_view.button_create->setEnabled(true); m_view.button_delete->setEnabled(m_isCustomProfile);