summaryrefslogtreecommitdiffstats
path: root/wonkoclient
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-04-10 04:29:29 +0200
committerPetr Mrázek <peterix@gmail.com>2016-04-30 23:59:23 +0200
commit47e37635f50c09b4f9a9ee7699e3120bab3e4088 (patch)
tree061c2f675fb7e244ebe4b54ef206bfbd615c91f8 /wonkoclient
parentfcd4a482f759cd58ee319a51082d0146b7e426e2 (diff)
downloadMultiMC-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar
MultiMC-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar.gz
MultiMC-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar.lz
MultiMC-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar.xz
MultiMC-47e37635f50c09b4f9a9ee7699e3120bab3e4088.zip
NOISSUE split GUI stuff from logic library
Diffstat (limited to 'wonkoclient')
-rw-r--r--wonkoclient/WonkoClient.cpp2
-rw-r--r--wonkoclient/main.cpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/wonkoclient/WonkoClient.cpp b/wonkoclient/WonkoClient.cpp
index 83efb285..ca22d407 100644
--- a/wonkoclient/WonkoClient.cpp
+++ b/wonkoclient/WonkoClient.cpp
@@ -11,8 +11,6 @@
#include <settings/INISettingsObject.h>
#include <resources/Resource.h>
#include "WonkoClient.h"
-#include <icons/IconList.h>
-
WonkoClient &WonkoClient::getInstance() {
static WonkoClient instance;
diff --git a/wonkoclient/main.cpp b/wonkoclient/main.cpp
index 1ee6d881..eaf92c5d 100644
--- a/wonkoclient/main.cpp
+++ b/wonkoclient/main.cpp
@@ -3,7 +3,7 @@
//
#include "WonkoClient.h"
-#include <QApplication>
+#include <QCoreApplication>
#include <QDebug>
#include <QtWidgets/QInputDialog>
#include <QtGui/QDesktopServices>
@@ -11,7 +11,7 @@
int main(int argc, char *argv[])
{
- QApplication a(argc, argv);
+ QCoreApplication a(argc, argv);
if (a.arguments().contains("-d"))
{
int i = a.arguments().lastIndexOf("-d") + 1;