Explorar el Código

Fixed resource uri for ctkXnatFile

Andreas Fetzer hace 10 años
padre
commit
ffdc9d5e71
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Libs/XNAT/Core/ctkXnatFile.cpp

+ 1 - 1
Libs/XNAT/Core/ctkXnatFile.cpp

@@ -58,7 +58,7 @@ ctkXnatFile::~ctkXnatFile()
 //----------------------------------------------------------------------------
 QString ctkXnatFile::resourceUri() const
 {
-  return QString("%1/files/%2").arg(parent()->resourceUri(), this->id());
+  return QString("%1/files/%2").arg(parent()->resourceUri(), this->name());
 }
 
 //----------------------------------------------------------------------------