diff --git a/src/app.cpp b/src/app.cpp index e29fe76..5378368 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -14,7 +14,8 @@ bool App::event(QEvent* e) { if (e->type() == QEvent::FileOpen) { - qDebug() << static_cast(e)->file(); + window->load_stl(static_cast(e)->file()); + return true; } else {