1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-24 23:44:25 +02:00

Some more cleanup

This commit is contained in:
2019-08-13 20:50:43 +02:00
parent f67eaa8dec
commit ab6ea84255
4 changed files with 7 additions and 19 deletions

View File

@ -34,10 +34,7 @@ template<class T> bool JNXMap::readValue(T &val)
if (_file.read((char*)&data, sizeof(T)) < (qint64)sizeof(T))
return false;
if (sizeof(T) > 1)
val = qFromLittleEndian(data);
else
val = data;
val = qFromLittleEndian(data);
return true;
}