Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
4ede899c
Commit
4ede899c
authored
Nov 28, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix tests. Instead of returning random profile, use dv_pal when no config file is found
parent
080fd512
Pipeline
#102148
passed with stage
in 8 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/profiles/profilerepository.cpp
View file @
4ede899c
...
...
@@ -91,6 +91,9 @@ std::unique_ptr<ProfileModel> &ProfileRepository::getProfile(const QString &path
if
(
m_profiles
.
count
(
path
)
==
0
)
{
// qCWarning(KDENLIVE_LOG) << "//// WARNING: profile not found: " << path << ". Returning default profile instead.";
QString
default_profile
=
KdenliveSettings
::
default_profile
();
if
(
default_profile
.
isEmpty
())
{
default_profile
=
QStringLiteral
(
"dv_pal"
);
}
if
(
m_profiles
.
count
(
default_profile
)
==
0
)
{
qCWarning
(
KDENLIVE_LOG
)
<<
"//// WARNING: default profile not found: "
<<
default_profile
<<
". Returning random profile instead."
;
return
(
*
(
m_profiles
.
begin
())).
second
;
...
...
manuel muzzurru
@manuelmuzzurru
mentioned in issue
#1241
·
Nov 30, 2021
mentioned in issue
#1241
mentioned in issue #1241
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment