diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-06-01 12:28:53 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-06-01 12:28:53 +0200 |
commit | 932160818e8e15dc124e1ce281749d28e10c5e66 (patch) | |
tree | 1924f82fffccf54ef14cbfcd8a7f25ccda53daaf /application/MultiMC.h | |
parent | 59e1ed3d8750b499b6d515a82bc08f6f72cc456a (diff) | |
download | MultiMC-932160818e8e15dc124e1ce281749d28e10c5e66.tar MultiMC-932160818e8e15dc124e1ce281749d28e10c5e66.tar.gz MultiMC-932160818e8e15dc124e1ce281749d28e10c5e66.tar.lz MultiMC-932160818e8e15dc124e1ce281749d28e10c5e66.tar.xz MultiMC-932160818e8e15dc124e1ce281749d28e10c5e66.zip |
NOISSUE add option to open global settings from instance settings
This should hopefully giude people towards using the right thing.
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r-- | application/MultiMC.h | 9 |
1 files changed, 4 insertions, 5 deletions
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<GenericPageProvider> 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); |