From 060d6955e1271bc05e35e5e24b71e1b7b0e8eb17 Mon Sep 17 00:00:00 2001 From: OverMighty Date: Sun, 9 Feb 2020 15:45:31 +0100 Subject: [PATCH] style: follow upstream code style --- application/MultiMC.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 039fb11d6..45df59374 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 urls = { m_zipToImport }; m_mainWindow->droppedURLs(urls);