forked from qt-creator/qt-creator
All: Replace most SynchronousProcess by QtcProcess
Change-Id: I0bf22fef2cd4a7297ef5a1e9aa9c3e2b9348ba42 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -427,7 +427,7 @@ static std::function<void(QFileInfo)> postCopyOperation()
|
||||
return;
|
||||
// On macOS, downloaded files get a quarantine flag, remove it, otherwise it is a hassle
|
||||
// to get it loaded as a plugin in Qt Creator.
|
||||
SynchronousProcess xattr;
|
||||
QtcProcess xattr;
|
||||
xattr.setTimeoutS(1);
|
||||
xattr.setCommand({"/usr/bin/xattr", {"-d", "com.apple.quarantine", fi.absoluteFilePath()}});
|
||||
xattr.runBlocking();
|
||||
|
||||
Reference in New Issue
Block a user