* @brief Sets the start delimiter and recreates device 0's FrameReader. */
| 969 | * @brief Sets the start delimiter and recreates device 0's FrameReader. |
| 970 | */ |
| 971 | void IO::ConnectionManager::setStartSequence(const QByteArray& sequence) |
| 972 | { |
| 973 | const auto effective = sequence.isEmpty() ? QByteArray("/*") : sequence; |
| 974 | if (m_startSequence == effective) |
| 975 | return; |
| 976 | |
| 977 | m_startSequence = effective; |
| 978 | resetFrameReader(); |
| 979 | Q_EMIT startSequenceChanged(); |
| 980 | } |
| 981 | |
| 982 | /** |
| 983 | * @brief Sets the end delimiter and recreates device 0's FrameReader. |
no test coverage detected