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

Improved error reporting

This commit is contained in:
2023-12-31 01:12:46 +01:00
parent e13d6dfc4b
commit 2541797e7d
4 changed files with 8 additions and 4 deletions

View File

@ -327,7 +327,7 @@ QCTMap::QCTMap(const QString &fileName, QObject *parent)
_mapRatio(1.0), _valid(false)
{
if (!_file.open(QIODevice::ReadOnly)) {
_errorString = fileName + ": " + _file.errorString();
_errorString = _file.errorString();
return;
}