diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-03-10 23:34:03 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-07 00:20:01 +0200 |
commit | 1fbe03f982f130bf675b7f94dd9c06aee62da54f (patch) | |
tree | cbe08ea1debf18f10cc10cac77249b6e993c050f /wonkoclient/main.cpp | |
parent | 7382360771f78e351740393262358bed3297d44c (diff) | |
download | MultiMC-1fbe03f982f130bf675b7f94dd9c06aee62da54f.tar MultiMC-1fbe03f982f130bf675b7f94dd9c06aee62da54f.tar.gz MultiMC-1fbe03f982f130bf675b7f94dd9c06aee62da54f.tar.lz MultiMC-1fbe03f982f130bf675b7f94dd9c06aee62da54f.tar.xz MultiMC-1fbe03f982f130bf675b7f94dd9c06aee62da54f.zip |
NOISSUE remove unused wonkoclient
Diffstat (limited to 'wonkoclient/main.cpp')
-rw-r--r-- | wonkoclient/main.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/wonkoclient/main.cpp b/wonkoclient/main.cpp deleted file mode 100644 index eaf92c5d..00000000 --- a/wonkoclient/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -// Created by robotbrain on 3/26/16. -// - -#include "WonkoClient.h" -#include <QCoreApplication> -#include <QDebug> -#include <QtWidgets/QInputDialog> -#include <QtGui/QDesktopServices> -#include <QDir> - -int main(int argc, char *argv[]) -{ - QCoreApplication a(argc, argv); - if (a.arguments().contains("-d")) - { - int i = a.arguments().lastIndexOf("-d") + 1; - if (i < a.arguments().length()) - { - QDir dir = QDir::current(); - dir.cd(a.arguments()[i]); - QDir::setCurrent(dir.absolutePath()); - qDebug() << "Using " << dir.absolutePath(); - } - } - MMCC.initGlobalSettings(); - MMCC.registerLists(); - return a.exec(); -} |