From d8bb83aac827f8ccc959a716834e6e4ffb2927ed Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 26 May 2018 09:39:56 +0200 Subject: Profile command --- plugins/ProfileEditor/profileeditorplugin.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/ProfileEditor/profileeditorplugin.cpp') 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> ProfileEditorPlugin::commands() +QHash > ProfileEditorPlugin::commands() { - QHash> hash; - hash.insert("profileEditor:about", []() { + QHash> hash; + hash.insert("profileEditor:about", []() -> int { qDebug("ProfileEditor for smolbote"); + return 0; }); return hash; } -- cgit v1.2.1