Separate Viewer from MainWindow and implement PDF embedding
[pykit.git] / main.cc
diff --git a/main.cc b/main.cc
index 84a675f..fcebd20 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -15,7 +15,6 @@
 #include <QApplication>
 #include <QSplashScreen>
 #include <QSettings>
-#include <boost/python.hpp>
 #include <boost/scoped_ptr.hpp>
 #include "MainWindow.hh"
 #include "PythonPublisher.hh"
@@ -68,10 +67,6 @@ int main(int argc, char *argv[])
 
         return app.exec();
     }
-    catch (boost::python::error_already_set & ex) {
-        PyErr_Print();
-        throw;
-    }
     catch (std::exception & ex) {
         std::cerr << "Exception:\n" << ex.what() << "\n";
         throw;