From 86fb66a8dd9d6ed843e3bc3539e3b39f2560faa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 29 Mar 2009 14:22:38 +0000 Subject: [PATCH] Fixed a mixup of the flags and resize mode arguments. In my previous commit, I wrongly assumed that viewMode == view flags. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29778 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/DesktopPoseView.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/kits/tracker/DesktopPoseView.cpp b/src/kits/tracker/DesktopPoseView.cpp index 33dc1f38e8..ea946de2ad 100644 --- a/src/kits/tracker/DesktopPoseView.cpp +++ b/src/kits/tracker/DesktopPoseView.cpp @@ -80,11 +80,12 @@ DesktopEntryListCollection::DesktopEntryListCollection() // #pragma mark - -DesktopPoseView::DesktopPoseView(Model *model, BRect frame, uint32 resizeMask, - uint32 flags) - : BPoseView(model, frame, resizeMask, flags | B_DRAW_ON_CHILDREN) +DesktopPoseView::DesktopPoseView(Model *model, BRect frame, uint32 viewMode, + uint32 resizeMask) + : BPoseView(model, frame, viewMode, resizeMask) { SetWidgetTextOutline(true); + SetFlags(Flags() | B_DRAW_ON_CHILDREN); }