From 932160818e8e15dc124e1ce281749d28e10c5e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 1 Jun 2019 12:28:53 +0200 Subject: NOISSUE add option to open global settings from instance settings This should hopefully giude people towards using the right thing. --- application/MultiMC.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'application/MultiMC.h') diff --git a/application/MultiMC.h b/application/MultiMC.h index 9fe98aa1..d7c727e0 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -65,11 +65,6 @@ public: return m_settings; } - std::shared_ptr globalSettingsPages() const - { - return m_globalSettingsProvider; - } - qint64 timeSinceStart() const { return startTime.msecsTo(QDateTime::currentDateTime()); @@ -146,8 +141,12 @@ public: void updateIsRunning(bool running); bool updatesAreAllowed(); + void ShowGlobalSettings(class QWidget * parent, QString open_page = QString()); + signals: void updateAllowedChanged(bool status); + void globalSettingsAboutToOpen(); + void globalSettingsClosed(); public slots: bool launch(InstancePtr instance, bool online = true, BaseProfilerFactory *profiler = nullptr); -- cgit v1.2.3