File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 47
47
#include " chat/NavigationPanel.hpp"
48
48
#include " settings/GeneralSettings.hpp"
49
49
#include " settings/ProjectSettingsPanel.hpp"
50
+ #include " settings/SettingsConstants.hpp"
50
51
51
52
#include " UpdateStatusWidget.hpp"
52
53
#include " providers/Providers.hpp"
@@ -77,6 +78,11 @@ class QodeAssistPlugin final : public ExtensionSystem::IPlugin
77
78
78
79
void initialize () final
79
80
{
81
+ Core::IOptionsPage::registerCategory (
82
+ Constants::QODE_ASSIST_GENERAL_OPTIONS_CATEGORY,
83
+ Constants::QODE_ASSIST_GENERAL_OPTIONS_DISPLAY_CATEGORY,
84
+ " :/resources/images/qoderassist-icon.png" );
85
+
80
86
Providers::registerProviders ();
81
87
Templates::registerTemplates ();
82
88
Original file line number Diff line number Diff line change @@ -433,8 +433,6 @@ class GeneralSettingsPage : public Core::IOptionsPage
433
433
setId (Constants::QODE_ASSIST_GENERAL_SETTINGS_PAGE_ID);
434
434
setDisplayName (TrConstants::GENERAL);
435
435
setCategory (Constants::QODE_ASSIST_GENERAL_OPTIONS_CATEGORY);
436
- setDisplayCategory (Constants::QODE_ASSIST_GENERAL_OPTIONS_DISPLAY_CATEGORY);
437
- setCategoryIconPath (" :/resources/images/qoderassist-icon.png" );
438
436
setSettingsProvider ([] { return &generalSettings (); });
439
437
}
440
438
};
You can’t perform that action at this time.
0 commit comments