| 144 | } |
| 145 | |
| 146 | QString relPath(const QString &path) const |
| 147 | { |
| 148 | QString prefix = QDir().absoluteFilePath(m_instance->instanceRoot()); |
| 149 | prefix += '/'; |
| 150 | if (!path.startsWith(prefix)) |
| 151 | { |
| 152 | return QString(); |
| 153 | } |
| 154 | return path.mid(prefix.size()); |
| 155 | } |
| 156 | |
| 157 | bool setFilterState(QModelIndex index, Qt::CheckState state) |
| 158 | { |
nothing calls this directly
no test coverage detected