summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOverMighty <its.overmighty@gmail.com>2020-02-09 15:45:31 +0100
committerOverMighty <its.overmighty@gmail.com>2020-02-09 15:45:31 +0100
commit060d6955e1271bc05e35e5e24b71e1b7b0e8eb17 (patch)
treed03e69717fc1ea22c44d3960a85382049f1064cd
parentbc04d89c32142094eec161709cf3932b7213b058 (diff)
downloadMultiMC-060d6955e1271bc05e35e5e24b71e1b7b0e8eb17.tar
MultiMC-060d6955e1271bc05e35e5e24b71e1b7b0e8eb17.tar.gz
MultiMC-060d6955e1271bc05e35e5e24b71e1b7b0e8eb17.tar.lz
MultiMC-060d6955e1271bc05e35e5e24b71e1b7b0e8eb17.tar.xz
MultiMC-060d6955e1271bc05e35e5e24b71e1b7b0e8eb17.zip
style: follow upstream code style
-rw-r--r--application/MultiMC.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index 039fb11d..45df5937 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -174,7 +174,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
// --alive
parser.addSwitch("alive");
parser.addDocumentation("alive", "Write a small '" + liveCheckFile + "' file after MultiMC starts");
-
+ // --import
parser.addOption("import");
parser.addShortOpt("import", 'I');
parser.addDocumentation("import", "Import instance from specified zip (local path or URL)");
@@ -818,8 +818,8 @@ void MultiMC::performMainStartupAction()
showMainWindow(false);
qDebug() << "<> Main window shown.";
}
-
- if (!m_zipToImport.isEmpty()) {
+ if(!m_zipToImport.isEmpty())
+ {
qDebug() << "<> Importing instance from zip:" << m_zipToImport.toString();
QList<QUrl> urls = { m_zipToImport };
m_mainWindow->droppedURLs(urls);