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/serverdialog.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2 manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.zip |
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 69d945c4f..396c9184f 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -105,19 +105,21 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo, mDir(dir), mDescription(new Label(this, std::string())), // TRANSLATORS: servers dialog button - mQuitButton(new Button(this, _("Quit"), "quit", this)), + mQuitButton(new Button(this, _("Quit"), "quit", BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mConnectButton(new Button(this, _("Connect"), "connect", this)), + mConnectButton(new Button(this, _("Connect"), "connect", + BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mAddEntryButton(new Button(this, _("Add"), "addEntry", this)), + mAddEntryButton(new Button(this, _("Add"), "addEntry", BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mEditEntryButton(new Button(this, _("Edit"), "editEntry", this)), + mEditEntryButton(new Button(this, _("Edit"), "editEntry", + BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mDeleteButton(new Button(this, _("Delete"), "remove", this)), + mDeleteButton(new Button(this, _("Delete"), "remove", BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mLoadButton(new Button(this, _("Load"), "load", this)), + mLoadButton(new Button(this, _("Load"), "load", BUTTON_SKIN, this)), // TRANSLATORS: servers dialog button - mInfoButton(new Button(this, _("Info"), "info", this)), + mInfoButton(new Button(this, _("Info"), "info", BUTTON_SKIN, this)), mServersListModel(new ServersListModel(&mServers, this)), mServersList(CREATEWIDGETR(ServersListBox, this, mServersListModel)), mDownload(nullptr), |