diff options
Diffstat (limited to 'src/gui/main.cc')
-rw-r--r-- | src/gui/main.cc | 8 |
1 files changed, 2 insertions, 6 deletions
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 <QApplication> +#include <QMessageBox> #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(); } |