summaryrefslogtreecommitdiff
path: root/src/gui/setupactiondata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:52:16 +0300
commit88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (patch)
treeb35a28cd317e2895c063749180b98edfe223c032 /src/gui/setupactiondata.h
parentc24fefa91a1416a4dad7fd97d67cefa51f9eb97c (diff)
downloadplus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.gz
plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.bz2
plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.xz
plus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.zip
Fix code style in gui.
Diffstat (limited to 'src/gui/setupactiondata.h')
-rw-r--r--src/gui/setupactiondata.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h
index d146a334f..b27aa5483 100644
--- a/src/gui/setupactiondata.h
+++ b/src/gui/setupactiondata.h
@@ -33,6 +33,16 @@
struct SetupActionData final
{
+ SetupActionData(const std::string name0,
+ const int actionId0,
+ const std::string text0) :
+ name(name0),
+ actionId(actionId0),
+ text(text0)
+ { }
+
+ A_DELETE_COPY(SetupActionData)
+
std::string name;
const int actionId;
std::string text;