QGIM: whitespace fixes
Change-Id: Ib832f1ba7edcd4beec95c6dbe0965a4af02961f0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
a99d73c53a
commit
b6782d148c
@ -201,7 +201,7 @@ namespace QGenericItemModelDetails
|
||||
// Specialization for tuples, using std::tuple_size
|
||||
template <typename T>
|
||||
struct row_traits<T, std::void_t<std::tuple_element_t<0, T>>> {
|
||||
static constexpr std::size_t size64= std::tuple_size_v<T>;
|
||||
static constexpr std::size_t size64 = std::tuple_size_v<T>;
|
||||
static_assert(q20::in_range<int>(size64));
|
||||
static constexpr int static_size = int(size64);
|
||||
static constexpr int fixed_size() { return 0; }
|
||||
@ -224,7 +224,7 @@ namespace QGenericItemModelDetails
|
||||
struct row_traits<T, typename make_void<decltype(T::staticMetaObject)>::type>
|
||||
{
|
||||
static constexpr int static_size = 0;
|
||||
static int fixed_size(){
|
||||
static int fixed_size() {
|
||||
// Interpret a gadget in a list as a multi-column row item. To
|
||||
// disambiguate, stick it into a SingleColumn wrapper.
|
||||
static const int columnCount = []{
|
||||
|
Loading…
x
Reference in New Issue
Block a user