diff options
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.cpp')
-rw-r--r-- | plugins/ProfileEditor/profileeditorplugin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.cpp b/plugins/ProfileEditor/profileeditorplugin.cpp index fc65350..b5e772f 100644 --- a/plugins/ProfileEditor/profileeditorplugin.cpp +++ b/plugins/ProfileEditor/profileeditorplugin.cpp @@ -10,11 +10,12 @@ #include "forms/profileview.h" #include <QHash> -QHash<QString, std::function<void()>> ProfileEditorPlugin::commands() +QHash<QString, std::function<int ()> > ProfileEditorPlugin::commands() { - QHash<QString, std::function<void()>> hash; - hash.insert("profileEditor:about", []() { + QHash<QString, std::function<int()>> hash; + hash.insert("profileEditor:about", []() -> int { qDebug("ProfileEditor for smolbote"); + return 0; }); return hash; } |