summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-06-01 12:28:53 +0200
committerPetr Mrázek <peterix@gmail.com>2019-06-01 12:28:53 +0200
commit932160818e8e15dc124e1ce281749d28e10c5e66 (patch)
tree1924f82fffccf54ef14cbfcd8a7f25ccda53daaf /application/MultiMC.h
parent59e1ed3d8750b499b6d515a82bc08f6f72cc456a (diff)
downloadMultiMC-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.h9
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);