aboutsummaryrefslogtreecommitdiff
path: root/src/gui/main.cc
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-07 19:51:15 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-07 19:51:15 +0000
commited865861aaecdba0375daa3a6a509ac55a57fe2e (patch)
tree6deac8718d1d3d6d87e15aaa9becc22d55ba9cbe /src/gui/main.cc
parent734b7a5c3b2859ab701227e7c8a96ca6aeb8f7fb (diff)
downloadopen-axiom-ed865861aaecdba0375daa3a6a509ac55a57fe2e.tar.gz
Diffstat (limited to 'src/gui/main.cc')
-rw-r--r--src/gui/main.cc8
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();
}