Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created January 10, 2017 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/5b7839f124e9849a6ae60cca1c6513ba to your computer and use it in GitHub Desktop.
Save tadzik/5b7839f124e9849a6ae60cca1c6513ba to your computer and use it in GitHub Desktop.
import QtQuick 2.0
import Sailfish.Silica 1.0
import "pages"
import "cover"
import "geocaching.js" as Geocaching
ApplicationWindow
{
id: app
Providers {
id: navSource
}
property var geocaching: new Geocaching.Geocaching(navSource)
initialPage: Component { NearestCachesPage { geocaching: app.geocaching } }
cover: CoverPage { geocaching: app.geocaching }
allowedOrientations: Orientation.Portrait
_defaultPageOrientations: Orientation.Portrait
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment