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
f13d23a2
Commit
f13d23a2
authored
Feb 18, 2021
by
Julius Künzel
Browse files
Fix reset config on windows
#931
parent
d0a7a0b7
Pipeline
#51443
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
f13d23a2
...
...
@@ -277,7 +277,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
();
...
...
Julius Künzel
@jlskuz
mentioned in commit
d1e71017
·
Feb 18, 2021
mentioned in commit
d1e71017
mentioned in commit d1e71017b08fd9dafbc876288903ca1454b87118
Toggle commit list
Write
Preview
Supports
Markdown
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