Commit Graph

41 Commits

Author SHA1 Message Date
Andrius Štikonas 0b5e5040eb Do not align partitions if they are mounted.
Moving data when partitions are mounted is almost guaranteed to cause data loss.

BUG: 412575
2019-10-05 11:52:59 +01:00
Albert Astals Cid 7f6fa41bce Mark override members as such 2019-02-16 00:17:48 +01:00
Andrius Štikonas 0d29dc8a6b Fix class/struct mismatch in forward declaration. 2018-04-18 21:46:15 +03:00
Andrius Štikonas 17c8772240 Explicitely specify the scope of enum. 2018-04-07 19:54:30 +01:00
Andrius Štikonas 63cea60ff1 Replace std::array with std::vector
Less efficient but helps with keeping ABI stable
2018-04-05 21:52:17 +01:00
Andrius Štikonas 17451c3494 Add non-const overload to partition() function. 2018-03-03 16:38:21 +00:00
Andrius Štikonas 17e6c32633 Fix more implicit type conversion warnings. 2017-09-11 13:41:03 +01:00
Andrius Štikonas 8a477e689e Minor clang warnings++ 2017-09-11 12:01:39 +01:00
Andrius Štikonas f7e5f7c7bf Rename KPMcore include guards.
clang in -Weverything mode does not like double underscore.
2017-09-10 20:12:52 +01:00
Andrius Štikonas 0bb267830d Fix a bug (that could result in data loss) where left handle of partition resize widget was not actually disabled. 2016-12-31 12:34:38 +02:00
Andrius Štikonas 40ff0861a8 Convert most of the remaining foreach cases. 2016-08-15 17:20:50 +01:00
Andrius Štikonas 16a2d063e3 More work on C++11 for loops. 2016-08-15 17:20:50 +01:00
Andrius Štikonas a10c8d3aaa Convert to C++11 for loop where it is safe (avoid detaching Qt objects). 2016-08-15 17:20:50 +01:00
Chantara Tith 87e9bf9cb5 House-cleaning, removing finished TODO and FIXME tasks. 2016-08-15 17:20:50 +01:00
Andrius Štikonas da0dabc50d Fix displaying resize widget with small number of sectors. 2016-08-15 17:20:50 +01:00
Chantara Tith 3c229f8a5a Add freeSetors for partitionTable 2016-08-15 17:20:50 +01:00
Andrius Štikonas 4ba9971de9 Do not use obsolete type. 2016-07-06 20:44:32 +01:00
Andrius Štikonas 09711cdf1d Whitespace fixes. 2016-06-01 21:00:31 +01:00
Andrius Štikonas 6e4c330410 Do not run moc on classes where it is not necessary. 2016-05-22 23:53:17 +01:00
Andrius Štikonas 45654e5e83 Convert to new syntax and slots syntax. 2016-05-18 19:54:36 +01:00
Andrius Štikonas 541e89a476 Fix moving unmovable partitions bug in partition resize widget. 2016-05-18 12:30:44 +01:00
Andrius Štikonas 464b3060fb Remove remaining ../ from #includes. 2016-05-06 22:36:24 +01:00
Andrius Štikonas a1026d20be Use KPasswordDialog to open LUKS containers. 2016-05-01 14:17:06 +01:00
Andrius Štikonas f7e62d93f9 Merge branch 'master' into luks-decorator 2016-04-27 16:34:02 +01:00
Andrius Štikonas 16757048c5 Fix whitespace. 2016-04-26 14:46:02 +01:00
Andrius Štikonas 8c1dd32baa
Remove luksName from DecryptLuksDialog. 2016-04-21 18:02:57 +01:00
Andrius Štikonas b0e6104e91 List .ui files instead of globbing them. 2015-08-05 12:35:17 +01:00
Teo Mrnjavac 5e7dff18ec Useless include is useless. 2015-08-04 18:32:07 +02:00
Teo Mrnjavac 17eb5e51e5 Resurrect DecryptLuksDialog. 2015-08-04 16:43:23 +02:00
Teo Mrnjavac 7f1a340e47 Resurrect DecryptLuksDialogWidget. 2015-08-04 16:42:56 +02:00
Teo Mrnjavac cd0f5d8778 Do not risk a division by zero. 2015-07-23 17:47:17 +02:00
Teo Mrnjavac 409bde6d1f Alignment. 2015-07-23 17:41:15 +02:00
Teo Mrnjavac de27f840bf Always use nullptr instead of NULL because it is type-safe. 2015-07-22 15:48:03 +02:00
Teo Mrnjavac df01276a53 config.h is no more. 2015-07-21 12:44:59 +02:00
Teo Mrnjavac 93d933c498 Have PartWidget color codes not use KConfig. 2015-07-17 13:36:23 +02:00
Andrius Štikonas 626f560e52 Format kpmcore code using KDE style. 2015-07-13 17:16:36 +03:00
Teo Mrnjavac 38c8fc1efc Fix build again. 2015-07-13 16:03:49 +02:00
Teo Mrnjavac e2a7e4b230 Fix build. 2015-07-13 16:03:49 +02:00
Teo Mrnjavac 3bbce2865f Revert "Format kpmcore code using KDE style."
This reverts commit 21b569e499.
2015-07-13 16:03:36 +02:00
Andrius Štikonas 21b569e499 Format kpmcore code using KDE style. 2015-07-13 17:02:13 +03:00
Teo Mrnjavac 195e495876 Move PartResizerWidget and related from PartitionManager into KPMcore. 2015-07-08 18:16:57 +02:00