Commit 3f586211 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Fix assert in SentBehaviourAttribute::seralize()

parent 1f34e486
......@@ -69,14 +69,16 @@ QByteArray SentBehaviourAttribute::serialized() const
case MoveToDefaultSentCollection:
out = "moveToDefault";
break;
default:
Q_ASSERT(false);
return QByteArray();
}
if (d->mSilent) {
out += ",silent";
}
Q_ASSERT(false);
return QByteArray();
return out;
}
void SentBehaviourAttribute::deserialize(const QByteArray &data)
......
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