summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.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/mailwindow.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/mailwindow.cpp')
-rw-r--r--src/gui/windows/mailwindow.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 4d1f0ee59..cacd9af43 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -65,17 +65,18 @@ MailWindow::MailWindow() :
fromBool(getOptionBool("showlistbackground", false), Opaque),
"mail_listbackground.xml")),
// TRANSLATORS: mail window button
- mRefreshButton(new Button(this, _("Refresh"), "refresh", this)),
+ mRefreshButton(new Button(this, _("Refresh"), "refresh",
+ BUTTON_SKIN, this)),
// TRANSLATORS: mail window button
- mNewButton(new Button(this, _("New"), "new", this)),
+ mNewButton(new Button(this, _("New"), "new", BUTTON_SKIN, this)),
// TRANSLATORS: mail window button
- mDeleteButton(new Button(this, _("Delete"), "delete", this)),
+ mDeleteButton(new Button(this, _("Delete"), "delete", BUTTON_SKIN, this)),
mReturnButton(new Button(this,
// TRANSLATORS: mail window button
settings.enableNewMailSystem ? _("Get old") : _("Return"),
- "return", this)),
+ "return", BUTTON_SKIN, this)),
// TRANSLATORS: mail window button
- mOpenButton(new Button(this, _("Open"), "open", this)),
+ mOpenButton(new Button(this, _("Open"), "open", BUTTON_SKIN, this)),
mOpenType(MailOpenType::Mail),
mUseMail2(settings.enableNewMailSystem),
mLastPage(false)