1. 23 Aug, 2014 1 commit
  2. 21 Aug, 2014 1 commit
  3. 14 Aug, 2014 1 commit
  4. 10 Aug, 2014 3 commits
  5. 05 Aug, 2014 1 commit
  6. 31 Jul, 2014 2 commits
  7. 29 Jul, 2014 1 commit
  8. 26 Jul, 2014 2 commits
  9. 22 Jul, 2014 1 commit
  10. 20 Jul, 2014 2 commits
  11. 19 Jul, 2014 1 commit
  12. 16 Jul, 2014 1 commit
  13. 15 Jul, 2014 1 commit
  14. 10 Jul, 2014 1 commit
  15. 09 Jul, 2014 2 commits
  16. 03 Jul, 2014 1 commit
  17. 02 Jul, 2014 1 commit
  18. 01 Jul, 2014 4 commits
  19. 27 Jun, 2014 2 commits
  20. 26 Jun, 2014 3 commits
  21. 23 Jun, 2014 1 commit
  22. 03 Jun, 2014 2 commits
  23. 19 May, 2014 1 commit
  24. 07 May, 2014 1 commit
  25. 28 Apr, 2014 1 commit
    • Koen Kooi's avatar
      fix qmin/qmax types · 0c66e26a
      Koen Kooi authored
      qreal is a double on some platforms (x86) and a float on others (e.g. ARM), cast it to fix build errors like these:
      
      src/ui/designer/QGCXYPlot.cc: In member function 'int
      XYPlotCurve::appendData(const QPointF&)':
      src/ui/designer/QGCXYPlot.cc:41:39: error: no matching function for call
      to 'qMin(double&, qreal)'
                   xmin = qMin(xmin, data.x());
                                             ^
      src/ui/designer/QGCXYPlot.cc:41:39: note: candidate is:
      In file included from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qnamespace.h:45:0,
                       from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qobjectdefs.h:45,
                       from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qwindowdefs.h:45,
                       from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qwidget.h:46,
                       from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/qdockwidget.h:45,
                       from
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtGui/QDockWidget:1,
                       from src/ui/designer/QGCXYPlot.cc:1:
      /build/v2013.12/build/tmp-angstrom_v2013_12-eglibc/sysroots/sama5d3_xplained/usr/include/qt4/QtCore/qglobal.h:1213:34:
      note: template<class T> const T& qMin(const T&, const T&)
       Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return
      (a < b) ? a : b; }
                                        ^
      
      See http://www.qtcentre.org/archive/index.php/t-45475.html for some
      background.
      
      This fixes #625
      Signed-off-by: 's avatarKoen Kooi <koen@dominion.thruhere.net>
      0c66e26a
  26. 13 Apr, 2014 1 commit
  27. 26 Mar, 2014 1 commit