mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-20 04:09:11 +02:00
Compare commits
No commits in common. "e9a8112196e01a178a6a354258232cbfad9560f8" and "7184c691d300c3c08593cb9ae96919aa02477649" have entirely different histories.
e9a8112196
...
7184c691d3
@ -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>VTK dosieroj</translation>
|
<translation type="unfinished"></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>70mai GPS -lokitiedostot</translation>
|
<translation type="unfinished"></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>VTK-tiedostot</translation>
|
<translation type="unfinished"></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>70mai GPS файлы</translation>
|
<translation type="unfinished"></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>VTK файлы</translation>
|
<translation type="unfinished"></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>Ошибка загрузки гео URI:</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/GUI/gui.cpp" line="1132"/>
|
<location filename="../src/GUI/gui.cpp" line="1132"/>
|
||||||
|
@ -180,15 +180,12 @@ bool VTKParser::parse(QFile *file, QList<TrackData> &tracks,
|
|||||||
_errorString = "";
|
_errorString = "";
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if ((len = file->read((char*)&recordLen, sizeof(recordLen)))
|
len = file->read((char*)&recordLen, 2);
|
||||||
!= sizeof(recordLen)) {
|
if (len < 0) {
|
||||||
if (!len)
|
_errorString = "I/O error";
|
||||||
break;
|
return false;
|
||||||
else {
|
} else if (len == 0)
|
||||||
_errorString = "Error reading VTK record size";
|
break;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
recordLen = qFromLittleEndian(recordLen);
|
recordLen = qFromLittleEndian(recordLen);
|
||||||
ba.resize(recordLen);
|
ba.resize(recordLen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user