[apps/graph][apps/sequence] In function store model, specify the

implementation of removeAll (always let an empty function in cartesian
functions)

Change-Id: I5e91a0ea427ba823eee4f86cdd8b7cd5426df2c6
This commit is contained in:
Émilie Feral
2017-04-10 10:52:22 +02:00
parent cebd5f69ed
commit b9183eb84d
6 changed files with 18 additions and 7 deletions

View File

@@ -93,4 +93,11 @@ const KDColor SequenceStore::firstAvailableColor() {
return k_defaultColors[0];
}
void SequenceStore::removeAll() {
for (int i = 0; i < m_numberOfFunctions; i++) {
m_sequences[i] = Sequence("", KDColorBlack);
}
m_numberOfFunctions = 0;
}
}