mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-05 00:39:09 +01:00
Compare commits
No commits in common. "681f6c5b0999e5c613fb917fd3e69f45d94a2e24" and "c9a46be7a81e55a9e6e79ac5e97614f3a0a92be1" have entirely different histories.
681f6c5b09
...
c9a46be7a8
@ -1,4 +1,4 @@
|
||||
version: 13.8.{build}
|
||||
version: 13.7.{build}
|
||||
|
||||
configuration:
|
||||
- Release
|
||||
|
@ -3,7 +3,7 @@ unix:!macx:!android {
|
||||
} else {
|
||||
TARGET = GPXSee
|
||||
}
|
||||
VERSION = 13.8
|
||||
VERSION = 13.7
|
||||
|
||||
|
||||
QT += core \
|
||||
|
@ -37,7 +37,7 @@ Unicode true
|
||||
; The name of the installer
|
||||
Name "GPXSee"
|
||||
; Program version
|
||||
!define VERSION "13.8"
|
||||
!define VERSION "13.7"
|
||||
|
||||
; The file to write
|
||||
OutFile "GPXSee-${VERSION}_x64.exe"
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <QApplication>
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include "common/util.h"
|
||||
#include "gpxparser.h"
|
||||
#include "tcxparser.h"
|
||||
#include "csvparser.h"
|
||||
@ -95,7 +94,7 @@ void Data::processData(QList<TrackData> &trackData, QList<RouteData> &routeData)
|
||||
Data::Data(const QString &fileName, bool tryUnknown)
|
||||
{
|
||||
QFile file(fileName);
|
||||
QFileInfo fi(Util::displayName(fileName));
|
||||
QFileInfo fi(fileName);
|
||||
QList<TrackData> trackData;
|
||||
QList<RouteData> routeData;
|
||||
|
||||
|
@ -270,10 +270,6 @@ bool GHPParser::parse(QFile *file, QList<TrackData> &tracks,
|
||||
_errorString = "unexpected end of file";
|
||||
return false;
|
||||
}
|
||||
if (!segment.size()) {
|
||||
_errorString = "No usable data found";
|
||||
return false;
|
||||
}
|
||||
|
||||
tracks.append(TrackData());
|
||||
tracks.last().append(segment);
|
||||
|
@ -65,7 +65,7 @@ MapList::ParserMap MapList::_parsers = parsers();
|
||||
Map *MapList::loadFile(const QString &path, bool *isDir)
|
||||
{
|
||||
ParserMap::iterator it;
|
||||
QFileInfo fi(Util::displayName(path));
|
||||
QFileInfo fi(path);
|
||||
QString suffix(fi.completeSuffix().toLower());
|
||||
Map *map = 0;
|
||||
QStringList errors;
|
||||
|
Loading…
Reference in New Issue
Block a user