Commit Graph

655 Commits

Author SHA1 Message Date
Andrius Štikonas bdb0d25ace Use untranslated filesystem name for fstab entries.
BUG: 434807
2021-03-23 19:33:28 +00:00
Andrius Štikonas 175eaef1b9 Remove unnecessary semicolon. 2020-11-14 01:33:28 +00:00
Andrius Štikonas 03edda5de6 Port away from obsolete QPalette::Foreground. 2020-11-14 01:30:13 +00:00
Andrius Štikonas aa32927848 Port away from deprecated QString::SkipEmptyParts. 2020-11-14 01:16:19 +00:00
Andrius Štikonas cd10b5ba2c Port away from qAsConst. 2020-10-24 22:15:02 +01:00
Andrius Štikonas 991bd1125f Remove ExternalCommand::setParentWidget call. 2020-10-12 20:57:21 +01:00
Andrius Štikonas ed84b9762c Remove call to stopHelper. It is no longer necessary. 2020-10-12 20:55:37 +01:00
Andrius Štikonas 02e4359889 Apply colour scheme to secondary (MBR logical) partitions
BUG: 418648
2020-10-05 18:24:31 +01:00
Andrius Štikonas e0906e3e26 Import partition flags when importing partition table.
BUG: 400331
2020-10-04 16:58:38 +01:00
Andrius Štikonas 58b3aefcfa Add support for importing "PartitionTable" of whole device filesystems. 2020-10-04 15:21:15 +01:00
Andrius Štikonas 209c1767b7 REUSE: SPDX copyright statements for more misc files. 2020-10-04 01:04:59 +01:00
Andrius Štikonas 3e39aaea60 Also exclude Luks2 filesystem from drop down menu in PartPropsDialog.
Luks1 was already excluded.
2020-10-03 15:37:33 +01:00
Andrius Štikonas 65619e679e Fix location of author tag in ui file. 2020-10-03 13:50:32 +01:00
Andrius Štikonas 71305e4ca6 Add copyright information to ui files. 2020-10-02 00:55:24 +01:00
Andrius Štikonas 2d2af2158a Use QStyle:Pixelmetric::PM_SmallIconSize, instead of hardcoded 16x16. 2020-09-29 22:15:28 +01:00
Andrius Štikonas 30d5671950 Port away from IconThemes. 2020-09-29 17:54:53 +01:00
Andrius Štikonas 063da467f3 Add SPDX metadata to CMakeLists.txt files. 2020-09-16 01:03:48 +01:00
Andrius Štikonas ad48c72af8 Switch to SPDX license headers. 2020-09-16 00:35:12 +01:00
Andrius Štikonas 6ab1e3aa13 Port away from deprecated QTime::elapsed. 2020-09-15 22:33:05 +01:00
Andrius Štikonas 51f4a2da04 Compile partitionmanager with Q_NO_KEYWORDS. 2020-09-15 02:26:56 +01:00
Andrius Štikonas 62e330b0f9 Remove an extra pair of brackets. 2020-09-14 00:46:02 +01:00
Andrius Štikonas 89dcf7855c Fix an infinite loop in remove mount point function. 2020-09-14 00:42:35 +01:00
Andrius Štikonas 0b77294e3d Port away from KRun to KIO::OpenUrlJob
Also bump minimum KF5 version to 5.71
2020-09-12 23:21:18 +01:00
Andrius Štikonas c3c5fd8837 Move KMessageBox outside if statement. 2020-09-10 01:23:55 +01:00
Andrius Štikonas d0bfbd2d4b Allow selecting properties using keyboard and mouse.
Properties in Dialog and Partition properties dialogs should now
be selectable.

BUG: 422192
2020-05-28 21:18:52 +01:00
Andrius Štikonas 4106ed78fd
Port away from deprecated IconSize method in the remaining dialogs. 2020-03-22 01:10:35 +00:00
Andrius Štikonas ae711eb12b Port away from deprecated IconSize method. 2020-03-15 23:16:09 +00:00
Yuri Chornoivan dcc665cc27 Fix minor EBN issues 2019-12-09 18:33:04 +02:00
Andrius Štikonas 910de2a772 Merge partition manager toolbars into one.
BUG: 412376
2019-10-05 11:21:14 +01:00
Andrius Štikonas dd0df390da Port away from deprecated QTreeWidget::setFirstItemColumnSpanned. 2019-09-27 23:09:05 +01:00
Andrius Štikonas a6861bf202 When importing partition table, pass the flags to Partition class.
Note, this is not enough for flags to work. We need to run a job to set flags.

CCBUG: 400331
2019-02-28 00:16:50 +00:00
Andrius Štikonas cf513b9873 Use explicit class method overrides. 2019-02-28 00:16:32 +00:00
Andrius Štikonas 730b2a9992 Fix race condition in reading fstype on partition table import.
Thanks to Christoph Vogtländer for reporting and fixing.

BUG: 400330
2019-02-27 23:15:17 +00:00
Andrius Štikonas 98d59e69ff
Use scoped enums for PartitionTable::Flag. 2019-02-10 01:30:02 +00:00
Yuri Chornoivan 7e47ebe0a2 Fix minor typo 2018-12-09 20:38:44 +02:00
Varun Patel beed97ee84 Updated SMART widget GUI to better display SMART info.
Repositioned information and resized window to clearly display information.

BUG: 401230
Differential Revision: https://phabricator.kde.org/D17129
2018-11-24 20:17:47 +00:00
Andrius Štikonas 58cfa4b2bb Adjust whitespace. 2018-10-28 21:27:52 +00:00
Andrius Štikonas 78e7c7d52a Fix crash on exit.
If we do not delete ApplyProgressDialog, then it later emits
finished which in turn attempts to scanDevices even though kpmcore helper
is already stopped and QCA private key is deleted.
2018-09-01 22:34:46 +01:00
Andrius Štikonas e2b31f81fb Merge branch 'kauth' 2018-07-25 09:38:54 +00: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
Caio Carvalho 15f19e818c RAID level should not be showed when the device is inactive. (i.e. it's not loaded by mdadm). 2018-07-16 15:51:16 -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 b68db554f6 Operations should check LvmDevice::s_DirtyPVs instead of check pending CreateVolumeGroupOperations to search for newly LVM PVs. 2018-07-15 19:43:44 -03:00
Andrius Štikonas 65eb5178f1 Static cast should be sufficient
We manually check device type jsut before cast
2018-07-12 09:58:50 +00:00
Caio Carvalho a606306e79 Showing SoftwareRAID device properties and allowing to create RAID device partition table. 2018-07-11 12:23:10 -03:00
Andrius Štikonas e7589702b9 Fix a compile warning. 2018-07-08 10:57:16 +01:00
René J.V. Bertin ade8676d23 avoid nullptr dereference when no devices are found
Differential revision: https://phabricator.kde.org/D13445
2018-06-09 14:27:35 +02:00
Andrius Štikonas 30815be85c Remove Kdelibs4ConfigMigrator
Config is no longer stored in root home folder, so migration cannot be done as
we have no access to root folder when running as unprivileged user.
2018-06-08 11:23:06 +01:00
Caio Carvalho 5a849d802b Checking if a new partition is targeted by a new VG through LvmDevice::s_DirtyPVs list instead of searching for a CreateVolumeGroupOperation targeting this new partition. 2018-05-28 16:24:31 -03: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