Re: QML question

2016-04-27 Thread Tomaz Canabrava
On Wed, Apr 27, 2016 at 2:15 PM, Joakim Bygdell wrote: > > > On 27 Apr 2016, at 18:55, Tomaz Canabrava wrote: > > > > Please, please: > > > > don't add more stuff to the QMLManager, it's a huge beast already :) > > crete something like this: > > > >

Re: QML question

2016-04-27 Thread Joakim Bygdell
> On 27 Apr 2016, at 18:55, Tomaz Canabrava wrote: > > Please, please: > > don't add more stuff to the QMLManager, it's a huge beast already :) > crete something like this: > > Q_INVOKABLE QStringListModel : DiveObjectHelper::buddies() { >static QStringListModel

Re: QML question

2016-04-27 Thread Tomaz Canabrava
Please, please: don't add more stuff to the QMLManager, it's a huge beast already :) crete something like this: Q_INVOKABLE QStringListModel : DiveObjectHelper::buddies() { static QStringListModel buddies = new QStringListModel(); QStringList temp; for_each_dive (i, d) { temp <<

Re: QML question

2016-04-27 Thread Joakim Bygdell
> On 27 Apr 2016, at 18:27, Thiago Macieira wrote: > > On quarta-feira, 27 de abril de 2016 17:40:53 PDT Joakim Bygdell wrote: >> Thomas or Thiago can you explain what’s going on here? >> >> I have a combobox that gets populated from a QStringList. >> >> If I generate the

Re: QML question

2016-04-27 Thread Thiago Macieira
On quarta-feira, 27 de abril de 2016 17:40:53 PDT Joakim Bygdell wrote: > Thomas or Thiago can you explain what’s going on here? > > I have a combobox that gets populated from a QStringList. > > If I generate the QStringList on the C++ side like so, > list << “foo” << “bar << “baz" > my

QML question

2016-04-27 Thread Joakim Bygdell
Thomas or Thiago can you explain what’s going on here? I have a combobox that gets populated from a QStringList. If I generate the QStringList on the C++ side like so, list << “foo” << “bar << “baz" my combobox contains 3 elements as expected. If I populate the QStringList with data

Re: Cloud user details set via command line or log file?

2016-04-27 Thread Dirk Hohndel
On Wed, Apr 27, 2016 at 09:39:53AM +1000, Michael Morley wrote: > Hi, > > I've been using Subsurface for a year or so now and find it fantastic. > > Currently I use 2 different log files saved on the local hard disk to > manage my log and my wifes log. I then use 2 difference shortcuts on the >

Re: latest kirigami, latest master, Subsurface-mobile fails

2016-04-27 Thread Marco Martin
On Wednesday 27 April 2016, Dirk Hohndel wrote: > Yes it does. > > The commit message seems to sell a little short the number of changes this > commit makes, but it does fix the problem. > > Thank you yeah, unfortunately i didn't really understood why it fixes it, seems a problem in the

Re: latest kirigami, latest master, Subsurface-mobile fails

2016-04-27 Thread Dirk Hohndel
On Wed, Apr 27, 2016 at 02:12:46PM +0200, Marco Martin wrote: > On Wednesday 27 April 2016, Marco Martin wrote: > > On Wed, Apr 27, 2016 at 10:19 AM, Marco Martin wrote: > > > subsurface mobile is master too? > > > i tried a bit yesterday and it gave a weird crash but couldn't

Re: latest kirigami, latest master, Subsurface-mobile fails

2016-04-27 Thread Marco Martin
On Wednesday 27 April 2016, Marco Martin wrote: > On Wed, Apr 27, 2016 at 10:19 AM, Marco Martin wrote: > > subsurface mobile is master too? > > i tried a bit yesterday and it gave a weird crash but couldn't reach the > > culript of it, i'll try to update and give a look to see

Re: latest kirigami, latest master, Subsurface-mobile fails

2016-04-27 Thread Marco Martin
On Wed, Apr 27, 2016 at 10:19 AM, Marco Martin wrote: > subsurface mobile is master too? > i tried a bit yesterday and it gave a weird crash but couldn't reach the > culript of it, i'll try to update and give a look to see what's wrong that's the backtrace i get, do you get

Re: latest kirigami, latest master, Subsurface-mobile fails

2016-04-27 Thread Marco Martin
On Wednesday 27 April 2016, Dirk Hohndel wrote: > Marco, > > With the latest Kirigami, pushing the DiveDetails page on the page stack > once you click on a dive fails. Subsurface-mobile becomes non-responsive. > > I can track it down to the stackView.push(detailsWindow) in the onClicked >