mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
The codec is always set when reading the GPI header
This commit is contained in:
parent
a1e10c395a
commit
7a7a331b58
@ -128,7 +128,7 @@ qint64 CryptDevice::readData(char *data, qint64 maxSize)
|
|||||||
class DataStream : public QDataStream
|
class DataStream : public QDataStream
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DataStream(QIODevice *d) : QDataStream(d), _codec(1252) {}
|
DataStream(QIODevice *d) : QDataStream(d) {}
|
||||||
|
|
||||||
void setCodepage(quint16 codepage) {_codec = TextCodec(codepage);}
|
void setCodepage(quint16 codepage) {_codec = TextCodec(codepage);}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user