forked from qt-creator/qt-creator
Various FilePath::fromString -> fromUserInput changes
Change-Id: Ic9c5e2f5c0375468651557f504b101572b72ac06 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -79,7 +79,7 @@ static Utils::optional<AndroidDeviceInfo> parseAvd(const QStringList &deviceInfo
|
||||
} else if (valueForKey(avdInfoNameKey, line, &value)) {
|
||||
avd.avdname = value;
|
||||
} else if (valueForKey(avdInfoPathKey, line, &value)) {
|
||||
const Utils::FilePath avdPath = Utils::FilePath::fromString(value);
|
||||
const Utils::FilePath avdPath = Utils::FilePath::fromUserInput(value);
|
||||
if (avdPath.exists()) {
|
||||
// Get ABI.
|
||||
const Utils::FilePath configFile = avdPath.pathAppended("config.ini");
|
||||
|
||||
Reference in New Issue
Block a user