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
PAPPSO
MassChroQ
Commits
e48fa24b
Commit
e48fa24b
authored
Feb 10, 2021
by
Langella Olivier
Browse files
trying to create directory to fix issue
#8
parent
9e7e5063
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/alignments/monitors/monitor_alignment_time.cpp
View file @
e48fa24b
...
...
@@ -24,10 +24,14 @@ MonitorAlignmentTime::setOutputDirectory(const QString &dir)
QDir
output_dir
=
QDir
(
dir
);
if
(
!
output_dir
.
exists
())
{
throw
mcqError
(
QObject
::
tr
(
"error the output directory :
\n
%1
\n
to write "
"time values does not exists."
)
if
(
!
output_dir
.
mkpath
(
output_dir
.
absolutePath
()))
{
throw
mcqError
(
QObject
::
tr
(
"unable to create output directory :
\n
%1
\n
to write "
"time values."
)
.
arg
(
output_dir
.
absolutePath
()));
}
}
_outDir
=
dir
;
}
...
...
Langella Olivier
@olivier.langella
mentioned in issue
#8 (closed)
·
Feb 10, 2021
mentioned in issue
#8 (closed)
mentioned in issue #8
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