summaryrefslogtreecommitdiff
path: root/src/gui/windows/connectiondialog.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/connectiondialog.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/connectiondialog.cpp')
-rw-r--r--src/gui/windows/connectiondialog.cpp7
1 files changed, 5 insertions, 2 deletions
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);