From ed865861aaecdba0375daa3a6a509ac55a57fe2e Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 7 Apr 2013 19:51:15 +0000 Subject: --- src/gui/main.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gui/main.cc') diff --git a/src/gui/main.cc b/src/gui/main.cc index c806889a..e6db3db6 100644 --- a/src/gui/main.cc +++ b/src/gui/main.cc @@ -30,20 +30,16 @@ // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include +#include #include "main-window.h" int main(int argc, char* argv[]) { using namespace OpenAxiom; QApplication app(argc, argv); - Command command; - // The toplevel driver may be have called us with the - // path to the gui interface (argv[0]) and the full name - // of the toplevel driver itself (argv[1].) Skip. - preprocess_arguments(&command, argc - 1, argv + 1); QApplication::setApplicationName("OpenAxiom"); QApplication::setOrganizationDomain("www.open-axiom.org"); - MainWindow main_win(command); + MainWindow main_win(argc, argv); main_win.show(); return app.exec(); } -- cgit v1.2.3