[00:00] I mean effecting settings.qml and main.qml [00:00] something like how the manifest file does [00:03] ahoneybun, well as Settings.qml is a child of PageLayout, which is a child of MainView... it will [00:04] ahoneybun, but if you are just wanting to store a string or something simple.... the Settings {} object maybe useful, as it can store settings into it's own file and then remember them when you restart the app [00:04] https://developer.ubuntu.com/api/apps/qml/sdk-15.04.5/Qt.labs.settings.Settings/ [00:05] we use it for various things, eg shuffle and repeat here .. http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/app/components/Player.qml#L74 [00:05] but>? [00:05] Settings.qml and Main.qml are different files [00:06] yup but when you push settings to the layout, it is like included/added as a child to it [00:06] so you can access stuff... but the best way is probably to use that Settings {} object ^^ [00:07] as then IIRC if you use the same category name in the other file it updates both [00:07] mm confused as always XD [00:08] I put something in the pad ahayzen [00:09] that way did not work, at least the way I did it [00:13] ahoneybun, added three possible ways [00:15] thanks [00:16] category does not work as it has red under it [00:17] ah [00:17] it might get confused with your Settings.qml in the same directory [00:17] mm something is broke [00:18] it does not like that locationSettings.location [00:18] ahoneybun, see my import modification to avoid the clash [00:18] added that [00:18] to Main [00:18] oh [00:19] for category? [00:19] though I did not add that first Settings thing [00:19] only the one to Settings.qml [00:20] i think you can put it in both places and they remain in-sync, can't remember [00:20] but the simplest... is to add the id: mainView... then the property to the MainView and use mainView.location [00:20] mm I might be getting messed up with the 3 option [00:21] yeah you'll need to comment stuff out [00:21] let's go with that first one [00:21] all these options are messing me up [00:21] as I don't know what to add [00:21] i'll do the simplest one... [00:21] sorry [00:22] I added the mainview stuff [00:22] mm [00:23] ahoneybun, updated the file, commented out the other bits [00:23] I wonder if I should just c and p it [00:25] hehe [00:26] I did with no success, mm [00:27] lines 160 and 215 work like I would like [00:27] but that is on the current page with a search [00:28] I might call it a day and play some games [00:28] ahayzen: ^ [00:29] oh i see [00:29] ahoneybun, maybe try moving the locationModel into the main file [00:29] then just referencing it in the repeater [00:30] well the locationModel is in the Main file [00:30] it works like that [00:30] but I want a variable to change from the settings to keep the Main page clean [00:33] that mainView way should be the simplest, not sure why it wouldn't work [00:34] 99% sure it is user error XD [00:35] heh [00:35] anyway, i'm gonna go sleep. Have fun! :-) [00:35] night! [00:35] thanks again [00:36] no problem o/ [00:37] \o === elimiste1e is now known as elimisteve [09:08] hi there [09:08] I've a problem with running my scope on my device [09:09] When I launch it (from ubuntu-sdk) the process "click-review" takes a while [09:09] and then crashes [09:10] (I'm running it again to get the exact error) [09:16] ERROR: Could not find vendor 'ubuntu' ERROR: Could not find vendor 'ubuntu' [09:16] Traceback (most recent call last): [09:16] File "/usr/bin/click-review", line 138, in [09:16] main() [09:16] File "/usr/bin/click-review", line 132, in main [09:16] results.run_all_checks() [09:16] File "/usr/bin/click-review", line 100, in run_all_checks [09:16] section = self._run_module_checks(module) [09:16] File "/usr/bin/click-review", line 92, in _run_module_checks [09:16] review.do_checks() [09:16] File "/usr/lib/python3/dist-packages/clickreviews/cr_common.py", line 566, in do_checks [09:16] func() [09:16] File "/usr/lib/python3/dist-packages/clickreviews/cr_security.py", line 476, in check_template [09:16] templates = self._get_templates(vendor, version) [09:16] File "/usr/lib/python3/dist-packages/clickreviews/cr_security.py", line 282, in _get_templates [09:16] for k in self.aa_policy[vendor][version]['templates'].keys(): [09:16] KeyError: 'ubuntu' [09:16] 11:15:01: The process "/usr/bin/click" exited with code 1. === robert_ancell is now known as robertancell === robertancell is now known as robert_ancell === robert_ancell is now known as robertancell === robertancell is now known as robert_ancell === faenil_ is now known as faenil === faenil is now known as faenil_ === faenil_ is now known as faenil [14:36] mm who's doing uTouch? [14:36] *uTorch [15:41] you can find author's name + email in the store === JanC is now known as Guest5182 === JanC_ is now known as JanC