diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
commit | aa7119314e1a33d908b98906d30be94eb116d02d (patch) | |
tree | a99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windows/editdialog.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2 plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz plus-aa7119314e1a33d908b98906d30be94eb116d02d.zip |
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/editdialog.cpp')
-rw-r--r-- | src/gui/windows/editdialog.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp index 1d5b7d95b..70b8e44eb 100644 --- a/src/gui/windows/editdialog.cpp +++ b/src/gui/windows/editdialog.cpp @@ -48,8 +48,12 @@ EditDialog::EditDialog(const std::string &restrict title, void EditDialog::postInit() { Window::postInit(); - // TRANSLATORS: edit dialog label - Button *const okButton = new Button(this, _("OK"), mEventOk, this); + Button *const okButton = new Button(this, + // TRANSLATORS: edit dialog label + _("OK"), + mEventOk, + BUTTON_SKIN, + this); const int pad = getPadding(); const int pad2 = pad * 2; |