186 }; |
186 }; |
187 this->loadDependenciesForModel(modelId, path, bag); |
187 this->loadDependenciesForModel(modelId, path, bag); |
188 if (not bag.missing.empty()) |
188 if (not bag.missing.empty()) |
189 { |
189 { |
190 bag.missing.sort(Qt::CaseInsensitive); |
190 bag.missing.sort(Qt::CaseInsensitive); |
191 errorStream << format( |
191 errorStream << tr("The following files could not be opened: %1") |
192 tr("The following files could not be opened: %1"), |
192 .arg(bag.missing.join(", ")); |
193 bag.missing.join(", ")); |
|
194 } |
193 } |
195 } |
194 } |
196 |
195 |
197 void DocumentManager::closeDocument(const ModelId modelId) |
196 void DocumentManager::closeDocument(const ModelId modelId) |
198 { |
197 { |