forked from qt-creator/qt-creator
Utils: Add a FilePath::isDir() convenience function
Change-Id: I1df0ee1b136299ae6e4f2e5bd0bdc24bfeca33dd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -445,13 +445,13 @@ void IosDebugSupport::start()
|
||||
+ "/Library/Developer/Xcode/iOS DeviceSupport/"
|
||||
+ osVersion + "/Symbols");
|
||||
QString deviceSdk;
|
||||
if (deviceSdk1.toFileInfo().isDir()) {
|
||||
if (deviceSdk1.isDir()) {
|
||||
deviceSdk = deviceSdk1.toString();
|
||||
} else {
|
||||
const FilePath deviceSdk2 = IosConfigurations::developerPath()
|
||||
.pathAppended("Platforms/iPhoneOS.platform/DeviceSupport/"
|
||||
+ osVersion + "/Symbols");
|
||||
if (deviceSdk2.toFileInfo().isDir()) {
|
||||
if (deviceSdk2.isDir()) {
|
||||
deviceSdk = deviceSdk2.toString();
|
||||
} else {
|
||||
TaskHub::addTask(Task::Warning, tr(
|
||||
|
||||
Reference in New Issue
Block a user