Commit 60be927f by Philipp Adolf

Fix default path for file open

parent 4421e9c9
...@@ -151,7 +151,7 @@ void MainWidget::initializeGL(){ ...@@ -151,7 +151,7 @@ void MainWidget::initializeGL(){
void MainWidget::loadNewMesh(){ void MainWidget::loadNewMesh(){
QString fn = QFileDialog::getOpenFileName(NULL, tr("Open Mesh..."), QString fn = QFileDialog::getOpenFileName(NULL, tr("Open Mesh..."),
QString("..\\Models"), QString("../Models"),
tr("*.md5mesh *.3ds *.md2 *.obj *.dae *.dxf *.mesh.xml *.blend *.b3d" )); tr("*.md5mesh *.3ds *.md2 *.obj *.dae *.dxf *.mesh.xml *.blend *.b3d" ));
emit subdivChange(0); emit subdivChange(0);
loadNewMesh(fn); loadNewMesh(fn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment