From 166813cb918ebd029325e12377989bfdc2021074 Mon Sep 17 00:00:00 2001 From: Petr Mrázek <peterix@gmail.com> Date: Sun, 7 Jun 2015 23:42:22 +0200 Subject: GH-1060 remove some old updater bits and pieces --- application/MultiMC.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'application/MultiMC.h') 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; -- cgit