Re: QML help sought

2018-08-09 Thread Joakim Bygdell
Hi Robert,

You need to add "import QtQuick.Controls 2.2 as Controls" in the
reportBugPage.qml

 file

/ Jocke
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


QML help sought

2018-08-08 Thread Robert Helling
Hi,

I thought I could work on a feature to make it easy to file a bug report 
directly from the mobile app (to motivate users to do that rather than give a 
bad rating in the app store). But I failed right from the start. If you feel at 
least a bit comfortable with qml, please have a look at

https://github.com/atdotde/subsurface/tree/reportbug

The problem is that I fail to understand how to tell QML that there should be 
an additional page containing the elements to file a bug report. So if you 
could point me to how to avoid the

 INFO: qrc:///qml/main.qml:380: ReferenceError: reportBug is not defined

error that would be appreciated.

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
  Scientific Coordinator
  Ludwig Maximilians Universitaet Muenchen, Dept. Physik
  Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
  http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1Dand
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F







signature.asc
Description: Message signed with OpenPGP
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface