38 Commits (fd5097c466aed3f146980e81bc0cd80c7f330f01)

Author SHA1 Message Date
Adriaan de Groot cef2f50510 Reduce warnings about extra ;
- Trailing ; after Q_UNUSED
 - Trailing ; after CALAMARES_RETRANSLATE
6 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
Adriaan de Groot 31fa9e4251 Clang: fix warnings on partition splitter
- initialize all the fields
 - member-initialization order
 - silence warnings about double<->int
 - drop unused parameter to setSplitPartition
8 years ago
Andrius Štikonas 9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
9 years ago
Teo Mrnjavac 7e89e67059 Initialize all members (fix Coverity defect 98206). 9 years ago
Teo Mrnjavac 749a740ffa Ensure the resizing items aren't null (fix Coverity defect 121862). 9 years ago
Teo Mrnjavac 1e3e1d22bb Fix build. 9 years ago
Teo Mrnjavac 3c8aee7b5e Add resizing state flag to Splitter items.
New iterator for Splitter items.
Use std::function instead of templates for type safety.
9 years ago
Teo Mrnjavac bafaa6a225 Keep Splitter items on the stack. 9 years ago
Teo Mrnjavac 7bf0fa2575 Get better debug information. 9 years ago
Teo Mrnjavac d6de5be8d0 Don't segfault on free space in Splitter widget. 9 years ago
Teo Mrnjavac 569f2d9d50 Use iterators instead. 9 years ago
Teo Mrnjavac dc038dfe1e Useless code is useless. 9 years ago
Teo Mrnjavac 4781bc0f7a Use a QVector. 9 years ago
Teo Mrnjavac c1b4320f5c Correctly handle free space in Splitter widget. 9 years ago
Teo Mrnjavac 7f6199ad37 Remember to update total. 9 years ago
Teo Mrnjavac 7bf918bfee Compensate for small partition visibility in Splitter widget. 9 years ago
Teo Mrnjavac 65f5da5a8d Draw nested partition enable/disable support in Splitter widget. 9 years ago
Teo Mrnjavac 3f9aae9af6 Fix splitter handle placement on child partitions. 9 years ago
Teo Mrnjavac 9682520c61 Draw the handle when it matters. 9 years ago
Teo Mrnjavac 3238498e48 Don't crash. 9 years ago
Teo Mrnjavac 491e046824 Robust means not broken, please. 9 years ago
Teo Mrnjavac 5eb6f6799e Try to make it more robust. 9 years ago
Teo Mrnjavac cb63d7d302 Draw the partitions in the alongside view even when not resizing. 9 years ago
Teo Mrnjavac f2add6f2c2 Remove leftover return that was wrecking havoc. 9 years ago
Teo Mrnjavac 1bc0c41f02 Restore sizes. 9 years ago
Teo Mrnjavac 430a4feea9 Allow changing the to be resized partition without a reinit. 9 years ago
Teo Mrnjavac 46ea8a484e Update year. 9 years ago
Teo Mrnjavac 92127e1abe Unbreak build. 9 years ago
Teo Mrnjavac 56292974a4 Bring PartitionSplitterWidget layout up to PartitionBarsView level. 9 years ago
Teo Mrnjavac 6a93f34c15 Move init logic into PartitionSplitterWidget. 9 years ago
Teo Mrnjavac 83cbe16918 Fixup preview height. 9 years ago
Teo Mrnjavac c6a7c54904 Preview widget height. 9 years ago
Teo Mrnjavac 23c21074af Initialize all the things in PartitionSplitterWidget. 10 years ago
Teo Mrnjavac 96c840e878 Use proper color for new partition in PartitionSplitterWidget. 10 years ago
Teo Mrnjavac c7f46136fc Do not crash. 10 years ago
Teo Mrnjavac ce407a5ec4 Use good old C++ template instead of auto parameter which needs C++1y. 11 years ago
Teo Mrnjavac 961eadada4 New UI and logic for Alongside autopartitioning+install. 11 years ago