diff options
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.cpp')
-rw-r--r-- | plugins/ProfileEditor/profileeditorplugin.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.cpp b/plugins/ProfileEditor/profileeditorplugin.cpp index 7a92e51..fc65350 100644 --- a/plugins/ProfileEditor/profileeditorplugin.cpp +++ b/plugins/ProfileEditor/profileeditorplugin.cpp @@ -8,6 +8,16 @@ #include "profileeditorplugin.h" #include "forms/profileview.h" +#include <QHash> + +QHash<QString, std::function<void()>> ProfileEditorPlugin::commands() +{ + QHash<QString, std::function<void()>> hash; + hash.insert("profileEditor:about", []() { + qDebug("ProfileEditor for smolbote"); + }); + return hash; +} QDialog *ProfileEditorPlugin::createWidget(QWebEngineProfile *profile, QWidget *parent) { |