Kaydet (Commit) eb61e1c0 authored tarafından Juergen Funk's avatar Juergen Funk Kaydeden (comit) Caolán McNamara

tdf#89873 UI: some dialog windows not being painted

The bug in TreeLists with black background is NOT from scheduler.
It is from patch 148e489e
Lot of dialogs not set the background, that was the problem.
My fix set the backgound to the default background.

Change-Id: I0f07bf54131aeb177bcf150e6854203c34b6b972
Reviewed-on: https://gerrit.libreoffice.org/15071Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8f379ddf
......@@ -57,6 +57,7 @@ SvTreeListEntry::SvTreeListEntry()
, bIsMarked(false)
, pUserData(NULL)
, nEntryFlags(0)
, maBackColor(Application::GetSettings().GetStyleSettings().GetWindowColor())
{
}
......@@ -67,6 +68,7 @@ SvTreeListEntry::SvTreeListEntry(const SvTreeListEntry& r)
, bIsMarked(r.bIsMarked)
, pUserData(r.pUserData)
, nEntryFlags(r.nEntryFlags)
, maBackColor(Application::GetSettings().GetStyleSettings().GetWindowColor())
{
SvTreeListEntries::const_iterator it = r.maChildren.begin(), itEnd = r.maChildren.end();
for (; it != itEnd; ++it)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment