Skip to content

Commit

Permalink
QtQml: Double the amount of registered singleton types
Browse files Browse the repository at this point in the history
Feature-rich and modern applications might need to register more than 30 types.
Let's double it.

PS: It would be much better, if we could modify the array(?) on init. So, depending on the application that is running Qt, a custom size can be set.
  • Loading branch information
thopiekar committed Apr 6, 2020
1 parent 25bdb92 commit 78f4f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qpy/QtQml/qpyqml_register_singleton_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static int register_type(QQmlPrivate::RegisterSingletonType *rt);


// The number of types that can be registered.
const int NrOfTypes = 30;
const int NrOfTypes = 60;


// The registration data for the proxy types.
Expand Down

0 comments on commit 78f4f64

Please sign in to comment.