mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Enqueue all partition jobs when leaving the PartitionViewStep
This commit is contained in:
parent
4916d0cb88
commit
a318ec49fc
7 changed files with 20 additions and 9 deletions
|
@ -16,14 +16,16 @@
|
|||
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "PartitionViewStep.h"
|
||||
|
||||
#include "PartitionPage.h"
|
||||
#include <PartitionViewStep.h>
|
||||
|
||||
#include <PartitionPage.h>
|
||||
#include <PartitionCoreModule.h>
|
||||
#include <JobQueue.h>
|
||||
|
||||
PartitionViewStep::PartitionViewStep( QObject* parent )
|
||||
: Calamares::ViewStep( parent )
|
||||
, m_widget( new PartitionPage() )
|
||||
, m_core( new PartitionCoreModule( this ) )
|
||||
, m_widget( new PartitionPage( m_core ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -45,6 +47,7 @@ PartitionViewStep::widget()
|
|||
void
|
||||
PartitionViewStep::next()
|
||||
{
|
||||
Calamares::JobQueue::instance()->enqueue( m_core->jobs() );
|
||||
emit done();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue