| 903 | } |
| 904 | |
| 905 | bool FileLoader::loadFile(const QString& path, QWidget* dialog_parent, const LoadHints& hints) { |
| 906 | queue_.push_back(LoadRequest{.path = path, .dialog_parent = dialog_parent, .hints = hints}); |
| 907 | startNext(); |
| 908 | return true; // accepted/enqueued — completion is async (fileLoaded/fileLoadFailed) |
| 909 | } |
| 910 | |
| 911 | void FileLoader::startNext() { |
| 912 | if (active_load_) { |
no outgoing calls