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:
@@ -217,7 +217,8 @@ static QByteArray decodeProvisioningProfile(const QString &path)
|
||||
Process p;
|
||||
// path is assumed to be valid file path to .mobileprovision
|
||||
p.setCommand({"openssl", {"smime", "-inform", "der", "-verify", "-in", path}});
|
||||
p.runBlocking(std::chrono::seconds(3));
|
||||
using namespace std::chrono_literals;
|
||||
p.runBlocking(3s);
|
||||
if (p.result() != ProcessResult::FinishedWithSuccess)
|
||||
qCDebug(iosCommonLog) << "Reading signed provisioning file failed" << path;
|
||||
return p.cleanedStdOut().toLatin1();
|
||||
|
||||
Reference in New Issue
Block a user