}
// static
-QString ProfilesDialog::existingProfile(MltVideoProfile profile)
+QString ProfilesDialog::existingProfile(const MltVideoProfile &profile)
{
// Check if the profile has a matching entry in existing ones
QStringList profilesFilter;
static MltVideoProfile getVideoProfile(const QString &name);
static QMap <QString, QString> getProfilesInfo();
static void saveProfile(MltVideoProfile &profile, QString profilePath = QString());
- static QString existingProfile(MltVideoProfile profile);
+ static QString existingProfile(const MltVideoProfile &profile);
static bool existingProfileDescription(const QString &desc);
/** @brief Check if a given profile matches passed properties: