Fix assertion when using Tracker in debug mode. This closes ticket #1636.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31286 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1349,7 +1349,7 @@ TTracker::ReadyToRun()
|
|||||||
// create desktop
|
// create desktop
|
||||||
BEntry entry;
|
BEntry entry;
|
||||||
deskDir.GetEntry(&entry);
|
deskDir.GetEntry(&entry);
|
||||||
Model *model = new Model(&entry);
|
Model *model = new Model(&entry, true);
|
||||||
if (model->InitCheck() == B_OK) {
|
if (model->InitCheck() == B_OK) {
|
||||||
AutoLock<WindowList> lock(&fWindowList);
|
AutoLock<WindowList> lock(&fWindowList);
|
||||||
deskWindow = new BDeskWindow(&fWindowList);
|
deskWindow = new BDeskWindow(&fWindowList);
|
||||||
|
|||||||
Reference in New Issue
Block a user