[partition] Insert annoying 3-sec delay
This is intended for testing -- it helps debug where a slow requirement check blocks the UI.
This commit is contained in:
parent
4566e53d01
commit
29e532a790
@ -56,6 +56,8 @@
|
|||||||
#include <QtConcurrent/QtConcurrent>
|
#include <QtConcurrent/QtConcurrent>
|
||||||
#include <QFutureWatcher>
|
#include <QFutureWatcher>
|
||||||
|
|
||||||
|
#include <unistd.h> // For sleep(3)
|
||||||
|
|
||||||
PartitionViewStep::PartitionViewStep( QObject* parent )
|
PartitionViewStep::PartitionViewStep( QObject* parent )
|
||||||
: Calamares::ViewStep( parent )
|
: Calamares::ViewStep( parent )
|
||||||
, m_core( nullptr )
|
, m_core( nullptr )
|
||||||
@ -565,6 +567,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
|
|||||||
if (m_future)
|
if (m_future)
|
||||||
m_future->waitForFinished();
|
m_future->waitForFinished();
|
||||||
|
|
||||||
|
sleep(3);
|
||||||
|
|
||||||
Calamares::RequirementsList l;
|
Calamares::RequirementsList l;
|
||||||
l.append(
|
l.append(
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user