* @brief Returns the base filename of the currently open CSV file. */
| 125 | * @brief Returns the base filename of the currently open CSV file. |
| 126 | */ |
| 127 | QString CSV::Player::filename() const |
| 128 | { |
| 129 | if (isOpen()) { |
| 130 | auto fileInfo = QFileInfo(m_csvFile.fileName()); |
| 131 | return fileInfo.fileName(); |
| 132 | } |
| 133 | |
| 134 | return ""; |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * @brief Returns the formatted timestamp of the current frame. |
no test coverage detected