GH-1053 split settings dialog creation to its own namespace
This commit is contained in:
parent
7f1320390c
commit
5f41886d76
8 changed files with 76 additions and 48 deletions
9
application/SettingsUI.cpp
Normal file
9
application/SettingsUI.cpp
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue