1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-19 19:59:11 +02:00

Compare commits

..

No commits in common. "e9a8112196e01a178a6a354258232cbfad9560f8" and "7184c691d300c3c08593cb9ae96919aa02477649" have entirely different histories.

4 changed files with 12 additions and 15 deletions

View File

@ -172,7 +172,7 @@
<message>
<location filename="../src/data/data.cpp" line="251"/>
<source>VTK files</source>
<translation>VTK dosieroj</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="252"/>

View File

@ -167,12 +167,12 @@
<message>
<location filename="../src/data/data.cpp" line="250"/>
<source>70mai GPS log files</source>
<translation>70mai GPS -lokitiedostot</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="251"/>
<source>VTK files</source>
<translation>VTK-tiedostot</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="252"/>

View File

@ -167,12 +167,12 @@
<message>
<location filename="../src/data/data.cpp" line="250"/>
<source>70mai GPS log files</source>
<translation>70mai GPS файлы</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="251"/>
<source>VTK files</source>
<translation>VTK файлы</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="252"/>
@ -837,7 +837,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="1126"/>
<source>Error loading geo URI:</source>
<translation>Ошибка загрузки гео URI:</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="1132"/>

View File

@ -180,15 +180,12 @@ bool VTKParser::parse(QFile *file, QList<TrackData> &tracks,
_errorString = "";
while (true) {
if ((len = file->read((char*)&recordLen, sizeof(recordLen)))
!= sizeof(recordLen)) {
if (!len)
break;
else {
_errorString = "Error reading VTK record size";
return false;
}
}
len = file->read((char*)&recordLen, 2);
if (len < 0) {
_errorString = "I/O error";
return false;
} else if (len == 0)
break;
recordLen = qFromLittleEndian(recordLen);
ba.resize(recordLen);