MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / cancelImport

Method cancelImport

app/src/DataModel/Importers/DBCImporter.cpp:143–151  ·  view source on GitHub ↗

* @brief Cancels the current import and clears loaded data. */

Source from the content-addressed store, hash-verified

141 * @brief Cancels the current import and clears loaded data.
142 */
143void DataModel::DBCImporter::cancelImport()
144{
145 m_messages.clear();
146 m_tableNames.clear();
147 m_dbcFilePath.clear();
148 m_valueDescriptions.clear();
149 Q_EMIT messagesChanged();
150 Q_EMIT dbcFileNameChanged();
151}
152
153/**
154 * @brief Parses the DBC file at filePath and emits previewReady on success.

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected