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) ...@@ -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();
......
...@@ -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.
......
...@@ -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;
......
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