# # # patch "src/model/GetAttributes.cpp" # from [ef0ce96c1007e2e722d210212154eac682383113] # to [38fe6b353a659b1d7d58ca82f1d9cdf98e54b6d8] # ============================================================ --- src/model/GetAttributes.cpp ef0ce96c1007e2e722d210212154eac682383113 +++ src/model/GetAttributes.cpp 38fe6b353a659b1d7d58ca82f1d9cdf98e54b6d8 @@ -57,9 +57,15 @@ void GetAttributes::readAttributes(const // reset the view reset(); - path = p; + // empty paths are not allowed, if we get one, we certainly + // mean the workspace' root directory, which we can address + // with "." as well + if (p.isEmpty()) + path = "."; + else + path = p; - MonotoneTask task(QStringList() << "get_attributes" << p); + MonotoneTask task(QStringList() << "get_attributes" << path); AutomateCommand::enqueueWorkspaceTask(workspacePath, task); }