Commit Graph

21 Commits

Author SHA1 Message Date
Yuri Chornoivan dcc665cc27 Fix minor EBN issues 2019-12-09 18:33:04 +02:00
Caio Carvalho f21b42d10e Adding PVs that are member of VGs that are going to be deleted soon in CreateVolumeGroupDialog and ResizeVolumeGroupDialog. Avoiding segfault because of devices partition tables in CreateVolumeGroupDialog and ResizeVolumeGroupDialog. 2018-07-23 13:38:30 -03:00
Andrius Štikonas 773cbf6d3b Newly created / to be removed LVM PVs in Resize VG dialog
Port changes from Create VG dialog:
Commit: af9fbe8a4f
2018-07-16 00:20:00 +01:00
Caio Carvalho dfca46250e - Passing list of pending operations as argument to ResizeOperation::canGrow.
- Access LVM::pvList through static list attribute.
2018-05-09 04:15:28 -03:00
Andrius Štikonas 482c1f63a3 std::vector->QVector. 2017-08-31 10:34:58 +01:00
Andrius Štikonas e3c14dbbb4 Convert pvList to std::vector.
We do not need to insert elements at arbitrary locations,
so vector should be sufficient.

Postpone changes in kpmcore till later to avoid breaking API.
2017-06-05 00:28:22 +01:00
Andrius Štikonas 7f5e592ba9 Use qAsConst and required Qt 5.7.1. 2017-01-05 19:11:32 +00:00
Andrius Štikonas d2b3f7344a Revert "Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG."
This reverts commit 6e6f41b209.
2016-12-06 03:18:29 +00:00
Andrius Štikonas 6e6f41b209 Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG. 2016-12-06 02:51:54 +00:00
Andrius Štikonas 042b83e1a0 Update copyright. 2016-11-04 14:14:05 +00:00
Andrius Štikonas 2602e0620c Fix handling of encrypted LVM physical volumes. 2016-11-03 14:22:11 +00:00
Andrius Štikonas 46ae0c73a8 Store list of physical volumes in a global variable. 2016-11-03 13:26:23 +00:00
Andrius Štikonas 97aedd1806 Replace complicated QPair type with custom LvmPV class. 2016-11-02 23:07:01 +00:00
Andrius Štikonas fea271330d Use cached values for resizing volume groups. 2016-09-24 21:09:16 +01:00
Andrius Štikonas 5bebcfbbc8 More conversion from QStringList to QList<const Partition*>.
listPhysicalVolumes::checkedItems is now QList based.
2016-09-18 01:55:14 +01:00
Andrius Štikonas e2afd2c683 Avoid calling lvm command to list Volume Groups in CreateNewVolumeGroup dialog. 2016-09-11 02:54:16 +01:00
Andrius Štikonas 007c2faf11 Continue converting LVM away from QStrings to Partition objects. 2016-09-11 00:19:58 +01:00
Andrius Štikonas 280ba106e8 Store the list of LVM Physical Volumes in operationStack. 2016-09-10 22:10:11 +01:00
Andrius Štikonas 95ca21f4e2 More optimizations for LVM. 2016-09-08 01:42:13 +01:00
Andrius Štikonas da663169f7 Adapt to kpmcore changes regarding LVM PV detection. 2016-09-07 14:36:59 +01:00
Andrius Štikonas 614503a910 Rename Volume->VolumeGroup. 2016-09-04 12:25:43 +01:00