diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-06-07 23:42:22 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-06-09 00:03:42 +0200 |
commit | 166813cb918ebd029325e12377989bfdc2021074 (patch) | |
tree | 19a1a5a7e3503ccb85c9ac46bcb45e1bef19361e /application/MultiMC.h | |
parent | 38e42ad79493afb759181fa5cead90c9b3483655 (diff) | |
download | PrismLauncher-166813cb918ebd029325e12377989bfdc2021074.tar.gz PrismLauncher-166813cb918ebd029325e12377989bfdc2021074.tar.bz2 PrismLauncher-166813cb918ebd029325e12377989bfdc2021074.zip |
GH-1060 remove some old updater bits and pieces
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h index e4a54115..f815b8e4 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -29,16 +29,6 @@ class TranslationDownloader; #endif #define MMC (static_cast<MultiMC *>(QCoreApplication::instance())) -enum UpdateFlag -{ - None = 0x0, - RestartOnFinish = 0x1, - DryRun = 0x2, - OnExit = 0x4 -}; -Q_DECLARE_FLAGS(UpdateFlags, UpdateFlag); -Q_DECLARE_OPERATORS_FOR_FLAGS(UpdateFlags); - class MultiMC : public QApplication { // friends for the purpose of limiting access to deprecated stuff @@ -115,7 +105,7 @@ public: } // APPLICATION ONLY - void installUpdates(const QString updateFilesDir, UpdateFlags flags = None); + void installUpdates(const QString updateFilesDir); /*! * Opens a json file using either a system default editor, or, if note empty, the editor @@ -173,9 +163,6 @@ private: QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers; QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools; - QString m_updateOnExitPath; - UpdateFlags m_updateOnExitFlags = None; - QString rootPath; QString staticDataPath; QString dataPath; |