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/connectiondialog.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/connectiondialog.cpp') diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp index 9c8507709..cfdfe6650 100644 --- a/src/gui/windows/connectiondialog.cpp +++ b/src/gui/windows/connectiondialog.cpp @@ -47,9 +47,12 @@ ConnectionDialog::ConnectionDialog(const std::string &text, ProgressIndicator *const progressIndicator = new ProgressIndicator(this); Label *const label = new Label(this, text); - Button *const cancelButton = new Button( + Button *const cancelButton = new Button(this, // TRANSLATORS: connection dialog button - this, _("Cancel"), "cancelButton", this); + _("Cancel"), + "cancelButton", + BUTTON_SKIN, + this); place(0, 0, progressIndicator, 1, 1); place(0, 1, label, 1, 1); -- cgit v1.2.3-70-g09d2