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
Education
Artikulate
Commits
e0bab5b1
Commit
e0bab5b1
authored
Mar 18, 2019
by
Andreas Cord-Landwehr
Browse files
Minor cleanups
parent
c0a63efe
Changes
3
Show whitespace changes
Inline
Side-by-side
src/core/skeleton.cpp
View file @
e0bab5b1
...
@@ -38,15 +38,10 @@ Skeleton::Skeleton(ResourceInterface *resource)
...
@@ -38,15 +38,10 @@ Skeleton::Skeleton(ResourceInterface *resource)
{
{
}
}
Skeleton
::~
Skeleton
()
{
}
void
Skeleton
::
sync
()
void
Skeleton
::
sync
()
{
{
if
(
!
file
().
isValid
()
||
file
().
isEmpty
()
||
m_resource
==
nullptr
)
{
if
(
!
file
().
isValid
()
||
file
().
isEmpty
()
||
m_resource
==
nullptr
)
{
qCWarning
(
ARTIKULATE_LOG
)
<<
"No file path set, aborting sync operation."
;
qCWarning
(
ARTIKULATE_LOG
()
)
<<
"No file path set, aborting sync operation."
;
return
;
return
;
}
}
m_resource
->
sync
();
m_resource
->
sync
();
...
...
src/core/skeleton.h
View file @
e0bab5b1
...
@@ -36,7 +36,6 @@ class ARTIKULATECORE_EXPORT Skeleton : public Course
...
@@ -36,7 +36,6 @@ class ARTIKULATECORE_EXPORT Skeleton : public Course
public:
public:
explicit
Skeleton
(
ResourceInterface
*
resource
=
nullptr
);
explicit
Skeleton
(
ResourceInterface
*
resource
=
nullptr
);
~
Skeleton
();
/**
/**
* Writes course object back to file and set \ref modified state to false.
* Writes course object back to file and set \ref modified state to false.
...
...
src/core/trainingsession.h
View file @
e0bab5b1
...
@@ -83,7 +83,6 @@ private:
...
@@ -83,7 +83,6 @@ private:
Q_DISABLE_COPY
(
TrainingSession
)
Q_DISABLE_COPY
(
TrainingSession
)
void
updateTrainingActions
();
void
updateTrainingActions
();
void
selectNextPhrase
();
void
selectNextPhrase
();
Phrase
*
nextPhrase
()
const
;
void
updateGoal
();
void
updateGoal
();
LearnerProfile
::
ProfileManager
*
m_profileManager
;
LearnerProfile
::
ProfileManager
*
m_profileManager
;
ICourse
*
m_course
;
ICourse
*
m_course
;
...
...
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