From aa7119314e1a33d908b98906d30be94eb116d02d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:22:21 +0300 Subject: Add skin parameter to all button constructors. --- src/gui/windows/editdialog.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/editdialog.cpp') 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; -- cgit v1.2.3-70-g09d2