Remove debugger call. This assert is to early because the desktop is locked later in the LockedDesktopSettings sub class. Fix bug #6392.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -738,11 +738,7 @@ DesktopSettings::DesktopSettings(Desktop* desktop)
|
|||||||
:
|
:
|
||||||
fSettings(desktop->fSettings)
|
fSettings(desktop->fSettings)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
|
||||||
if (!desktop->fWindowLock.IsWriteLocked()
|
|
||||||
&& !desktop->fWindowLock.IsReadLocked())
|
|
||||||
debugger("desktop not locked when trying to access settings");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -883,7 +879,8 @@ DesktopSettings::IsSubpixelOrderingRegular() const
|
|||||||
|
|
||||||
|
|
||||||
LockedDesktopSettings::LockedDesktopSettings(Desktop* desktop)
|
LockedDesktopSettings::LockedDesktopSettings(Desktop* desktop)
|
||||||
: DesktopSettings(desktop),
|
:
|
||||||
|
DesktopSettings(desktop),
|
||||||
fDesktop(desktop)
|
fDesktop(desktop)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user