summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.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/editserverdialog.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/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index 13bf7650b..c109282dc 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -60,14 +60,15 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
mPacketVersionField(new IntTextField(this, 0, 0, maxPacketVersion,
Enable_true, 0)),
// TRANSLATORS: edit server dialog button
- mConnectButton(new Button(this, _("Connect"), "connect", this)),
+ mConnectButton(new Button(this, _("Connect"), "connect",
+ BUTTON_SKIN, this)),
// TRANSLATORS: edit server dialog button
- mOkButton(new Button(this, _("OK"), "addServer", this)),
+ mOkButton(new Button(this, _("OK"), "addServer", BUTTON_SKIN, this)),
// TRANSLATORS: edit server dialog button
- mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
+ mCancelButton(new Button(this, _("Cancel"), "cancel", BUTTON_SKIN, this)),
// TRANSLATORS: edit server dialog label
mPersistentIp(new CheckBox(this, _("Use same ip"),
- true, this, "persistentIp")),
+ true, this, "persistentIp")),
mTypeListModel(new TypeListModel),
mTypeField(new DropDown(this, mTypeListModel,
false, Modal_true, nullptr, std::string())),