mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Compare commits
No commits in common. "4848190377093247f9afdff695d71d759651a23f" and "5a71deda15f15f3658bc22db9cc71767a851d17e" have entirely different histories.
4848190377
...
5a71deda15
@ -1,4 +1,4 @@
|
|||||||
#include <QWidget>
|
#include <QtWidgets>
|
||||||
#include "flowlayout.h"
|
#include "flowlayout.h"
|
||||||
|
|
||||||
struct FlowLayoutItem
|
struct FlowLayoutItem
|
||||||
|
@ -322,7 +322,7 @@ bool JLS::decode(const SubFile *file, SubFile::Handle &hdl, Matrix<qint16> &img)
|
|||||||
if (!readLine(bs))
|
if (!readLine(bs))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
memcpy(img.row(i), _current + 1, _w * sizeof(quint16));
|
memcpy(&img.at(i, 0), _current + 1, _w * sizeof(quint16));
|
||||||
|
|
||||||
quint16 *tmp = _last;
|
quint16 *tmp = _last;
|
||||||
_last = _current;
|
_last = _current;
|
||||||
|
@ -21,7 +21,6 @@ public:
|
|||||||
T &at(int n) {return _m[n];}
|
T &at(int n) {return _m[n];}
|
||||||
T &at(int i, int j) {return _m[_w * i + j];}
|
T &at(int i, int j) {return _m[_w * i + j];}
|
||||||
T const &at(int i, int j) const {return _m.at(_w * i + j);}
|
T const &at(int i, int j) const {return _m.at(_w * i + j);}
|
||||||
T *row(int i) {return &_m[_w * i];}
|
|
||||||
|
|
||||||
bool isNull() const {return (_h == 0 || _w == 0);}
|
bool isNull() const {return (_h == 0 || _w == 0);}
|
||||||
int size() const {return _m.size();}
|
int size() const {return _m.size();}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#include <cmath>
|
#include <QtCore>
|
||||||
#include <QtMath>
|
|
||||||
#include "common/wgs84.h"
|
#include "common/wgs84.h"
|
||||||
#include "osm.h"
|
#include "osm.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <QtMath>
|
#include <QtCore>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPixmapCache>
|
#include <QPixmapCache>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <QtMath>
|
#include <QtCore>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QPixmapCache>
|
#include <QPixmapCache>
|
||||||
|
Loading…
Reference in New Issue
Block a user