summaryrefslogtreecommitdiff
path: root/src/gui/windows/editdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
commitaa7119314e1a33d908b98906d30be94eb116d02d (patch)
treea99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windows/editdialog.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadplus-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.cpp8
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;