Skip to content
Snippets Groups Projects
Commit dbd6573e authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Write required disk space into GlobalStorage.

parent c070b1c8
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@
#include "widgets/WaitingWidget.h"
#include "utils/CalamaresUtilsGui.h"
#include "utils/Logger.h"
#include "JobQueue.h"
#include "GlobalStorage.h"
#include <QBoxLayout>
#include <QDBusConnection>
......@@ -214,6 +216,8 @@ PrepareViewStep::setConfigurationMap( const QVariantMap& configurationMap )
m_requiredStorageGB = configurationMap.value( "requiredStorage" ).toDouble( &ok );
if ( !ok )
m_requiredStorageGB = 3.;
Calamares::JobQueue::instance()->globalStorage()->insert( "requiredStorageGB", m_requiredStorageGB );
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment