switch to using boost::filesystem
[mussa.git] / qui / mussagl.cpp
index 656c9a2de45f9340efad2f6d9db0942a9d0f32b2..28f7bc592976441cd7ef21f0be3101396c578761 100644 (file)
@@ -1,3 +1,6 @@
+#include <boost/filesystem/operations.hpp>
+using namespace boost::filesystem;
+
 #include <QApplication>
 
 #include "qui/MussaWindow.hpp"
@@ -5,6 +8,9 @@
 
 int main(int argc, char **argv)
 {
+  // let boost::filesystem store the path we were initially launched in
+  initial_path();
+
   QApplication app(argc, argv);
   Q_INIT_RESOURCE(icons);
   Mussa *analysis = initialize_mussa(argc, argv);