mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Add device node to Partitioning summary info objects.
This commit is contained in:
parent
8568c2c816
commit
be2083e2bf
2 changed files with 3 additions and 1 deletions
|
@ -435,6 +435,7 @@ PartitionCoreModule::createSummaryInfo() const
|
||||||
continue;
|
continue;
|
||||||
SummaryInfo summaryInfo;
|
SummaryInfo summaryInfo;
|
||||||
summaryInfo.deviceName = deviceInfo->device->name();
|
summaryInfo.deviceName = deviceInfo->device->name();
|
||||||
|
summaryInfo.deviceNode = deviceInfo->device->deviceNode();
|
||||||
|
|
||||||
Device* deviceBefore = backend->scanDevice( deviceInfo->device->deviceNode() );
|
Device* deviceBefore = backend->scanDevice( deviceInfo->device->deviceNode() );
|
||||||
summaryInfo.partitionModelBefore = new PartitionModel;
|
summaryInfo.partitionModelBefore = new PartitionModel;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||||
*
|
*
|
||||||
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
|
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
|
||||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Calamares is free software: you can redistribute it and/or modify
|
* Calamares is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -53,6 +53,7 @@ public:
|
||||||
struct SummaryInfo
|
struct SummaryInfo
|
||||||
{
|
{
|
||||||
QString deviceName;
|
QString deviceName;
|
||||||
|
QString deviceNode;
|
||||||
PartitionModel* partitionModelBefore;
|
PartitionModel* partitionModelBefore;
|
||||||
PartitionModel* partitionModelAfter;
|
PartitionModel* partitionModelAfter;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue