mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-19 19:59:11 +02:00
Compare commits
4 Commits
7184c691d3
...
e9a8112196
Author | SHA1 | Date | |
---|---|---|---|
e9a8112196 | |||
|
bca335d4b2 | ||
|
f3b1fa8eb7 | ||
|
fac377e746 |
@ -172,7 +172,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="251"/>
|
<location filename="../src/data/data.cpp" line="251"/>
|
||||||
<source>VTK files</source>
|
<source>VTK files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>VTK dosieroj</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="252"/>
|
<location filename="../src/data/data.cpp" line="252"/>
|
||||||
|
@ -167,12 +167,12 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="250"/>
|
<location filename="../src/data/data.cpp" line="250"/>
|
||||||
<source>70mai GPS log files</source>
|
<source>70mai GPS log files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>70mai GPS -lokitiedostot</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="251"/>
|
<location filename="../src/data/data.cpp" line="251"/>
|
||||||
<source>VTK files</source>
|
<source>VTK files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>VTK-tiedostot</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="252"/>
|
<location filename="../src/data/data.cpp" line="252"/>
|
||||||
|
@ -167,12 +167,12 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="250"/>
|
<location filename="../src/data/data.cpp" line="250"/>
|
||||||
<source>70mai GPS log files</source>
|
<source>70mai GPS log files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>70mai GPS файлы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="251"/>
|
<location filename="../src/data/data.cpp" line="251"/>
|
||||||
<source>VTK files</source>
|
<source>VTK files</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>VTK файлы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/data/data.cpp" line="252"/>
|
<location filename="../src/data/data.cpp" line="252"/>
|
||||||
@ -837,7 +837,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/GUI/gui.cpp" line="1126"/>
|
<location filename="../src/GUI/gui.cpp" line="1126"/>
|
||||||
<source>Error loading geo URI:</source>
|
<source>Error loading geo URI:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Ошибка загрузки гео URI:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/GUI/gui.cpp" line="1132"/>
|
<location filename="../src/GUI/gui.cpp" line="1132"/>
|
||||||
|
@ -180,12 +180,15 @@ bool VTKParser::parse(QFile *file, QList<TrackData> &tracks,
|
|||||||
_errorString = "";
|
_errorString = "";
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
len = file->read((char*)&recordLen, 2);
|
if ((len = file->read((char*)&recordLen, sizeof(recordLen)))
|
||||||
if (len < 0) {
|
!= sizeof(recordLen)) {
|
||||||
_errorString = "I/O error";
|
if (!len)
|
||||||
return false;
|
|
||||||
} else if (len == 0)
|
|
||||||
break;
|
break;
|
||||||
|
else {
|
||||||
|
_errorString = "Error reading VTK record size";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
recordLen = qFromLittleEndian(recordLen);
|
recordLen = qFromLittleEndian(recordLen);
|
||||||
ba.resize(recordLen);
|
ba.resize(recordLen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user