From e330abe180e06ce985ff72471933b19918176dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 23 Dec 2017 11:10:39 +0100 Subject: [PATCH] Report the correct file on error --- src/GUI/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/app.cpp b/src/GUI/app.cpp index ac08922a..c6a5a7bb 100644 --- a/src/GUI/app.cpp +++ b/src/GUI/app.cpp @@ -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(