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/mailwindow.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | plus-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.cpp | 11 |
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) |