Skip to content
Commit 72de0f3f authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Push pages by URL, do not unnecessarily create components for them

Creating components means loading and parsing the full contents of
a page, including all its dependencies, this adds unnecessary
overhead during startup, especially for things that are rarely used
such as the about page. Instead just pass an URL of a page to load,
PageRow will then load and instantiate it when the page gets pushed.

The only caveat is that we do not know the URL of Kirigami's
AboutPage.qml, so instead, we create a local page that just forwards
to Kirigami AboutPage.
parent 6362a2fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment