remove uncomment in LoadFile

This commit is contained in:
Ronan Le Tiec 2020-05-02 09:30:53 +02:00
parent 9a8fabc25e
commit 928c57f74b

View File

@ -85,17 +85,17 @@ PuzzleMainWindow::~PuzzleMainWindow()
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
bool PuzzleMainWindow::LoadFile(QString path) bool PuzzleMainWindow::LoadFile(QString path)
{ {
// try try
// { {
// VLayoutConverter converter(path); VLayoutConverter converter(path);
// path = converter.Convert(); path = converter.Convert();
// } }
// catch (VException &e) catch (VException &e)
// { {
// qCCritical(pWindow, "%s\n\n%s\n\n%s", qUtf8Printable(tr("File error.")), qCCritical(pWindow, "%s\n\n%s\n\n%s", qUtf8Printable(tr("File error.")),
// qUtf8Printable(e.ErrorMessage()), qUtf8Printable(e.DetailedInformation())); qUtf8Printable(e.ErrorMessage()), qUtf8Printable(e.DetailedInformation()));
// return false; return false;
// } }
QFile file(path); QFile file(path);
file.open(QIODevice::ReadOnly); file.open(QIODevice::ReadOnly);