diff options
Diffstat (limited to 'src/libs/installer/component.h')
-rw-r--r-- | src/libs/installer/component.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/installer/component.h b/src/libs/installer/component.h index 6ea05f397..f99ee8cd7 100644 --- a/src/libs/installer/component.h +++ b/src/libs/installer/component.h @@ -88,6 +88,14 @@ public: } }; + struct SortingPriorityGreaterThan + { + bool operator() (const Component *lhs, const Component *rhs) const + { + return lhs->value(scSortingPriority).toInt() > rhs->value(scSortingPriority).toInt(); + } + }; + void loadDataFromPackage(const Package &package); void loadDataFromPackage(const LocalPackage &package); |