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/serverdialog.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/gui/windows/serverdialog.cpp') 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), -- cgit v1.2.3-70-g09d2