diff options
author | OverMighty <its.overmighty@gmail.com> | 2020-02-05 00:29:23 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-02-24 18:52:26 +0100 |
commit | 47fa7b3f8c7a92fa14aa50d6bd7d7a3c100a06f3 (patch) | |
tree | 297c4adaf4f596a54218cf68f0ff43957ae0d628 /application/MultiMC.h | |
parent | d58481e0de15ec4f1eb60de9a42c6cc9ec330d86 (diff) | |
download | PrismLauncher-47fa7b3f8c7a92fa14aa50d6bd7d7a3c100a06f3.tar.gz PrismLauncher-47fa7b3f8c7a92fa14aa50d6bd7d7a3c100a06f3.tar.bz2 PrismLauncher-47fa7b3f8c7a92fa14aa50d6bd7d7a3c100a06f3.zip |
GH-2988 add --import command-line option
When specified, opens the "Import from zip" dialog as soon as the main
window is shown, with the URL field prefilled with the argument given to
the option.
Closes #2998
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h index d7c727e0..e6588a14 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -6,6 +6,7 @@ #include <QFlag> #include <QIcon> #include <QDateTime> +#include <QUrl> #include <updater/GoUpdate.h> #include <BaseInstance.h> @@ -221,5 +222,6 @@ private: public: QString m_instanceIdToLaunch; bool m_liveCheck = false; + QUrl m_zipToImport; std::unique_ptr<QFile> logFile; }; |