summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailviewwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/mailviewwindow.cpp')
-rw-r--r--src/gui/windows/mailviewwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp
index add46a7f2..cd924445f 100644
--- a/src/gui/windows/mailviewwindow.cpp
+++ b/src/gui/windows/mailviewwindow.cpp
@@ -80,7 +80,7 @@ MailViewWindow::MailViewWindow(MailMessage *const message,
mItemContainer(new ItemContainer(this, mInventory, 100000,
ShowEmptyRows_false, ForceQuantity_false)),
mItemScrollArea(new ScrollArea(this, mItemContainer,
- fromBool(getOptionBool("showitemsbackground"), Opaque),
+ fromBool(getOptionBool("showitemsbackground", false), Opaque),
"mailview_listbackground.xml")),
mUseMail2(settings.enableNewMailSystem)
{
@@ -91,7 +91,7 @@ MailViewWindow::MailViewWindow(MailMessage *const message,
setStickyButtonLock(true);
setVisible(Visible_true);
- setDefaultSize(380, 370, ImagePosition::CENTER);
+ setDefaultSize(380, 370, ImagePosition::CENTER, 0, 0);
setMinWidth(200);
setMinHeight(100);
center();