forked from qt-creator/qt-creator
Use more std::chrono and std::chrono_literals namespaces
Change-Id: Ib8c83988d7afe35d81b87ff8c5c87eef2082f12d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -366,7 +366,8 @@ static std::function<void(FilePath)> postCopyOperation()
|
||||
// to get it loaded as a plugin in Qt Creator.
|
||||
Process xattr;
|
||||
xattr.setCommand({"/usr/bin/xattr", {"-d", "com.apple.quarantine", filePath.absoluteFilePath().toString()}});
|
||||
xattr.runBlocking(std::chrono::seconds(1));
|
||||
using namespace std::chrono_literals;
|
||||
xattr.runBlocking(1s);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user