Commit e0bab5b1 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Minor cleanups

parent c0a63efe
......@@ -38,15 +38,10 @@ Skeleton::Skeleton(ResourceInterface *resource)
{
}
Skeleton::~Skeleton()
{
}
void Skeleton::sync()
{
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;
}
m_resource->sync();
......
......@@ -36,7 +36,6 @@ class ARTIKULATECORE_EXPORT Skeleton : public Course
public:
explicit Skeleton(ResourceInterface *resource = nullptr);
~Skeleton();
/**
* Writes course object back to file and set \ref modified state to false.
......
......@@ -83,7 +83,6 @@ private:
Q_DISABLE_COPY(TrainingSession)
void updateTrainingActions();
void selectNextPhrase();
Phrase * nextPhrase() const;
void updateGoal();
LearnerProfile::ProfileManager *m_profileManager;
ICourse *m_course;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment