Gui: Move C++ pref pages to QObject context

This commit is contained in:
Chris Hennes
2023-05-19 20:54:27 -05:00
parent c0726b8481
commit f7a4ce6928
5 changed files with 11 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ PyMOD_INIT_FUNC(PathGui)
loadPathResource();
// register preferences pages
new Gui::PrefPageProducer<PathGui::DlgSettingsPathColor> ("Path");
new Gui::PrefPageProducer<PathGui::DlgSettingsPathColor> (QT_TRANSLATE_NOOP("QObject","Path"));
PyMOD_Return(mod);
}