1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Report the correct file on error

This commit is contained in:
Martin Tůma 2017-12-23 11:10:39 +01:00
parent 53a4b45b7b
commit e330abe180

View File

@ -94,7 +94,7 @@ void App::loadDatums()
} else {
if (!Datum::loadList(df)) {
if (Datum::errorLine())
qWarning("%s: parse error on line %d: %s", qPrintable(ef),
qWarning("%s: parse error on line %d: %s", qPrintable(df),
Datum::errorLine(), qPrintable(Datum::errorString()));
else
qWarning("%s: %s", qPrintable(ef), qPrintable(