Skip to content
Snippets Groups Projects
Commit 3bb41d8c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm private fct

parent 711334f7
No related branches found
No related tags found
1 merge request!2338cleanup JobsSet
...@@ -61,7 +61,7 @@ void JobsSet::writeTo(QXmlStreamWriter* w) const ...@@ -61,7 +61,7 @@ void JobsSet::writeTo(QXmlStreamWriter* w) const
void JobsSet::readFrom(QXmlStreamReader* r) void JobsSet::readFrom(QXmlStreamReader* r)
{ {
clear(); ASSERT(m_job_items.empty());
const uint version = XML::readUIntAttribute(r, XML::Attrib::version); const uint version = XML::readUIntAttribute(r, XML::Attrib::version);
Q_UNUSED(version) Q_UNUSED(version)
...@@ -135,12 +135,6 @@ void JobsSet::restoreBackupPars(JobItem* job_item, int index) ...@@ -135,12 +135,6 @@ void JobsSet::restoreBackupPars(JobItem* job_item, int index)
job_item->parameterContainerItem()->restoreBackupValues(index); job_item->parameterContainerItem()->restoreBackupValues(index);
} }
void JobsSet::clear()
{
for (auto* job : jobItems())
removeJob(job);
}
QVector<DataItem*> JobsSet::dataItems() const QVector<DataItem*> JobsSet::dataItems() const
{ {
QVector<DataItem*> result; QVector<DataItem*> result;
......
...@@ -55,7 +55,6 @@ public: ...@@ -55,7 +55,6 @@ public:
bool hasUnfinishedJobs(); bool hasUnfinishedJobs();
void clear();
QVector<DataItem*> dataItems() const; QVector<DataItem*> dataItems() const;
void runJob(JobItem* job_item); void runJob(JobItem* job_item);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment