aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-02-06 07:09:32 +0100
committerPetr Mrázek <peterix@gmail.com>2013-02-06 07:09:32 +0100
commit18b087e99280d2c8d5a6115a178f9e6f03606656 (patch)
treefbf58928dabbae4540de3d7725f9ac70274fa586 /main.cpp
parent4e9006769e3554524096d45f8a1ce16ccfa78bfc (diff)
parente475f5d51251ae57da0480bbadc9cb32a8bc72b2 (diff)
downloadPrismLauncher-18b087e99280d2c8d5a6115a178f9e6f03606656.tar.gz
PrismLauncher-18b087e99280d2c8d5a6115a178f9e6f03606656.tar.bz2
PrismLauncher-18b087e99280d2c8d5a6115a178f9e6f03606656.zip
Merge https://github.com/Forkk/MultiMC5
Conflicts: gui/mainwindow.ui
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 0d429c8d..6e840317 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,3 +1,4 @@
+
/* Copyright 2013 MultiMC Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,10 +17,20 @@
#include "gui/mainwindow.h"
#include <QApplication>
+#include "data/appsettings.h"
+
+#include "data/loginresponse.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ app.setOrganizationName("Forkk");
+ app.setApplicationName("MultiMC 5");
+
+ settings = new AppSettings(&app);
+
+ // Register meta types.
+ qRegisterMetaType<LoginResponse>("LoginResponse");
MainWindow mainWin;
mainWin.show();