[PATCH] mobile: show dive.number instead of double location

Tomaz Canabrava tcanabrava at kde.org
Fri Jan 8 13:15:54 PST 2016


On Fri, Jan 8, 2016 at 7:14 PM, Jan Mulder <jlmulder at xs4all.nl> wrote:

> Trivial patch.
>
> Small error was introduced in commit 25aa80846b84c. The dive.location was shown in the DiveList instead of the intended dive.number.
>
>
my bad - I was experimenting stuff.


> Signed-off-by: Jan Mulder <jlmulder at xs4all.nl> <jlmulder at xs4all.nl>
> ---
>  qt-mobile/qml/DiveList.qml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
> index 1a49db2..53d71d0 100644
> --- a/qt-mobile/qml/DiveList.qml
> +++ b/qt-mobile/qml/DiveList.qml
> @@ -102,7 +102,7 @@ MobileComponents.Page {
>  				}
>  				MobileComponents.Label {
>  					id: numberText
> -					text: "#" + dive.location
> +					text: "#" + dive.number
>  					color: MobileComponents.Theme.textColor
>  					font.pointSize: subsurfaceTheme.smallPointSize
>  					opacity: 0.6
> --
> 2.7.0
>
> best,
>
> --jan
>
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160108/0197ce76/attachment.html>


More information about the subsurface mailing list