core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/FileImageModel.java
changeset 448 f67171885c66
parent 447 5018b19f0952
equal deleted inserted replaced
447:5018b19f0952 448:f67171885c66
    56 		this.basePath = basePath;
    56 		this.basePath = basePath;
    57 		this.relativePath = filePath;
    57 		this.relativePath = filePath;
    58 		if (filePath != null) {
    58 		if (filePath != null) {
    59 			this.sourceLocation = basePath != null && filePath.getDevice() == null && !filePath.isAbsolute()
    59 			this.sourceLocation = basePath != null && filePath.getDevice() == null && !filePath.isAbsolute()
    60 				? basePath.append(filePath) : filePath;
    60 				? basePath.append(filePath) : filePath;
    61 		}
       
    62 		
       
    63 		if (this.sourceLocation != null && this.sourceLocation.getDevice() == null){
       
    64 			this.sourceLocation = this.sourceLocation.setDevice(basePath.getDevice());
       
    65 		}
    61 		}
    66 		
    62 		
    67 	}
    63 	}
    68 	
    64 	
    69 	/**
    65 	/**