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:
@@ -274,7 +274,8 @@ void AndroidCreateKeystoreCertificate::buttonBoxAccepted()
|
||||
|
||||
Process genKeyCertProc;
|
||||
genKeyCertProc.setCommand(command);
|
||||
genKeyCertProc.runBlocking(std::chrono::seconds(15), EventLoopMode::On);
|
||||
using namespace std::chrono_literals;
|
||||
genKeyCertProc.runBlocking(15s, EventLoopMode::On);
|
||||
|
||||
if (genKeyCertProc.result() != ProcessResult::FinishedWithSuccess) {
|
||||
QMessageBox::critical(this, Tr::tr("Error"),
|
||||
|
||||
Reference in New Issue
Block a user