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
d1e71017
Commit
d1e71017
authored
Feb 18, 2021
by
Julius Künzel
Browse files
Fix reset config on windows
#931
(cherry picked from commit
f13d23a2
)
parent
ed751688
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
d1e71017
...
...
@@ -268,7 +268,7 @@ int main(int argc, char *argv[])
KSharedConfigPtr
config
=
KSharedConfig
::
openConfig
();
if
(
config
->
name
().
contains
(
QLatin1String
(
"kdenlive"
)))
{
// Make sure we delete our config file
QFile
f
(
QStandardPaths
::
locate
(
QStandardPaths
::
ConfigLocation
,
config
->
name
(),
QStandardPaths
::
LocateFile
));
QFile
f
(
QStandardPaths
::
locate
(
QStandardPaths
::
Generic
ConfigLocation
,
config
->
name
(),
QStandardPaths
::
LocateFile
));
if
(
f
.
exists
())
{
qDebug
()
<<
" = = = =
\n
GOT Deleted file: "
<<
f
.
fileName
();
f
.
remove
();
...
...
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