src/main.cpp

changeset 206
654661eab7f3
parent 205
1a4342d80de7
child 212
27259810da6d
equal deleted inserted replaced
205:1a4342d80de7 206:654661eab7f3
62 } 62 }
63 else { 63 else {
64 QMessageBox::critical( 64 QMessageBox::critical(
65 parent, 65 parent,
66 QObject::tr("Problem opening file"), 66 QObject::tr("Problem opening file"),
67 format(QObject::tr("Could not open %1: %2"), path, errorString)); 67 QObject::tr("Could not open %1: %2").arg(quoted(path), errorString)
68 );
68 } 69 }
69 return modelIdOpt; 70 return modelIdOpt;
70 } 71 }
71 72
72 static QString getOpenModelPath(QWidget* parent) 73 static QString getOpenModelPath(QWidget* parent)

mercurial