From d61f732bdec944c501c365080af443dcafd344c5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 27 Oct 2017 09:24:18 +0300 Subject: [PATCH] Improve warning message to provide more appropriate infromation about an error. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index a20a68e4e..3706005d5 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -4437,7 +4437,8 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile) if (not LoadMeasurements(newPath)) { - qCCritical(vMainWindow, "%s", qUtf8Printable(tr("The measurements file '%1' could not be found.") + qCCritical(vMainWindow, "%s", qUtf8Printable(tr("The measurements file '%1' could not be found or " + "provides not enough information.") .arg(newPath))); qApp->setOpeningPattern();// End opening file Clear();