diff options
author | Juergen Funk <juergen.funk_ml@cib.de> | 2015-03-30 12:58:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-31 12:39:43 +0000 |
commit | eb61e1c00365337cde3aff45b5a9f362951abd62 (patch) | |
tree | f12545916c3ab81386c360847dddfe0cf8dc1609 /svtools | |
parent | 8f379ddf5ae945cfec85dced286de4cfa282fd77 (diff) |
tdf#89873 UI: some dialog windows not being painted
The bug in TreeLists with black background is NOT from scheduler.
It is from patch 148e489e33a34c6345326c9beaf248ac91f8cd01
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/15071
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistentry.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx index aa0ce3c2f434..c56d4d95d2de 100644 --- a/svtools/source/contnr/treelistentry.cxx +++ b/svtools/source/contnr/treelistentry.cxx @@ -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) |