[qlandkartegt] 02/03: Fix degree character in QT5.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue May 5 12:23:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository qlandkartegt.

commit 097cf9682ea62182ec1a06533ac22cc6faaf1556
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon May 4 21:58:56 2015 +0200

    Fix degree character in QT5.
---
 debian/patches/qt5.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/debian/patches/qt5.patch b/debian/patches/qt5.patch
index 28b5f2c..d102f1a 100644
--- a/debian/patches/qt5.patch
+++ b/debian/patches/qt5.patch
@@ -130,3 +130,16 @@ Forwarded: http://sourceforge.net/p/qlandkartegt/mailman/message/34079968/
  
  if(NOT QK_QT5_SERIAL_PORT)
    set(qlandkarte_include_dirs
+--- a/src/CTrackEditWidget.cpp
++++ b/src/CTrackEditWidget.cpp
+@@ -769,7 +769,9 @@ void CTrackEditWidget::slotUpdate()
+         // azimuth
+         if(trkpt->azimuth != WPT_NOFLOAT)
+         {
+-            str.sprintf("%1.0f\260",trkpt->azimuth);
++            const QChar degreeChar(0260);
++            str.sprintf("%1.0f",trkpt->azimuth);
++            str.append(degreeChar);
+         }
+         else
+         {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qlandkartegt.git



More information about the Pkg-grass-devel mailing list