GH-1053 split settings dialog creation to its own namespace
This commit is contained in:
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user