remove uncomment in LoadFile
This commit is contained in:
parent
9a8fabc25e
commit
928c57f74b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user