ok...more error message?

--HG--
branch : develop
This commit is contained in:
Alex 2015-08-27 23:38:26 +03:00
parent f87d0e6642
commit 7c6cd2e4a0

View File

@ -72,6 +72,8 @@
Q_LOGGING_CATEGORY(vMainWindow, "v.mainwindow")
#define OUT_FILE_ERROR vStdErr() << tr("File error: ") << e.ErrorMessage() << e.DetailedInformation() << "\n"
//---------------------------------------------------------------------------------------------------------------------
/**
* @brief MainWindow constructor.
@ -305,7 +307,7 @@ bool MainWindow::LoadMeasurements(const QString &path)
}
else
{
vStdErr() << tr("File error: ")<< e.MoreInformation() <<"\n";
OUT_FILE_ERROR;
}
delete m;
return false;
@ -3124,7 +3126,7 @@ bool MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu
}
else
{
vStdErr() << tr("File error.") << e.MoreInformation() << "\n";
OUT_FILE_ERROR;
}
Clear();
return false;