From 29e532a790da53eea553118e05d98e5ac9d99edb Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 12 Dec 2017 07:17:16 -0500 Subject: [PATCH] [partition] Insert annoying 3-sec delay This is intended for testing -- it helps debug where a slow requirement check blocks the UI. --- src/modules/partition/gui/PartitionViewStep.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/partition/gui/PartitionViewStep.cpp b/src/modules/partition/gui/PartitionViewStep.cpp index 84d3ecc2c..d39d2a84f 100644 --- a/src/modules/partition/gui/PartitionViewStep.cpp +++ b/src/modules/partition/gui/PartitionViewStep.cpp @@ -56,6 +56,8 @@ #include #include +#include // For sleep(3) + PartitionViewStep::PartitionViewStep( QObject* parent ) : Calamares::ViewStep( parent ) , m_core( nullptr ) @@ -565,6 +567,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements() if (m_future) m_future->waitForFinished(); + sleep(3); + Calamares::RequirementsList l; l.append( {