diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-07-05 02:29:41 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-07-05 02:29:41 +0200 |
commit | 5f41886d76c11fe8befe8d059c75dcb5bc11f78d (patch) | |
tree | 1d5917d7492014c52276528f5aafc6f7e7665872 /application/SettingsUI.cpp | |
parent | 7f1320390c55e408a4b0081b2606eab3892a8148 (diff) | |
download | MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.gz MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.lz MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.xz MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.zip |
GH-1053 split settings dialog creation to its own namespace
Diffstat (limited to 'application/SettingsUI.cpp')
-rw-r--r-- | application/SettingsUI.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/application/SettingsUI.cpp b/application/SettingsUI.cpp new file mode 100644 index 00000000..2a2010de --- /dev/null +++ b/application/SettingsUI.cpp @@ -0,0 +1,9 @@ +#include "SettingsUI.h" +namespace SettingsUI +{ +void ShowInstancePageDialog(InstancePtr instance, QWidget * parent, QString open_page) +{ + auto provider = std::make_shared<InstancePageProvider>(instance); + ShowPageDialog(provider, parent, open_page); +} +} |