diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 00:43:20 +0300 |
commit | 30ba8a737da8b1811397786106085f2c13167803 (patch) | |
tree | 09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/mailwindow.cpp | |
parent | 03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff) | |
download | plus-30ba8a737da8b1811397786106085f2c13167803.tar.gz plus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2 plus-30ba8a737da8b1811397786106085f2c13167803.tar.xz plus-30ba8a737da8b1811397786106085f2c13167803.zip |
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/mailwindow.cpp')
-rw-r--r-- | src/gui/windows/mailwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp index 963b981be..1b3b35cd6 100644 --- a/src/gui/windows/mailwindow.cpp +++ b/src/gui/windows/mailwindow.cpp @@ -63,7 +63,7 @@ MailWindow::MailWindow() : mListBox(CREATEWIDGETR(ExtendedListBox, this, mMailModel, "extendedlistbox.xml", 0)), mListScrollArea(new ScrollArea(this, mListBox, - fromBool(getOptionBool("showlistbackground"), Opaque), + fromBool(getOptionBool("showlistbackground", false), Opaque), "mail_listbackground.xml")), // TRANSLATORS: mail window button mRefreshButton(new Button(this, _("Refresh"), "refresh", this)), @@ -91,7 +91,7 @@ MailWindow::MailWindow() : if (setupWindow != nullptr) setupWindow->registerWindowForReset(this); - setDefaultSize(310, 180, ImagePosition::CENTER); + setDefaultSize(310, 180, ImagePosition::CENTER, 0, 0); setMinWidth(310); setMinHeight(250); center(); |