]> git.sur5r.net Git - fstl/blob - src/loader.cpp
Set window title to filename
[fstl] / src / loader.cpp
1 #include "loader.h"
2 #include "mesh.h"
3
4 Loader::Loader(QObject* parent, const QString& filename)
5     : QThread(parent), filename(filename)
6 {
7 }
8
9 void Loader::run()
10 {
11     emit got_mesh(Mesh::load_stl(filename));
12     emit loaded_file(filename);
13 }