[Haiku-commits] r31286 - haiku/trunk/src/kits/tracker

anevilyak at BerliOS anevilyak at mail.berlios.de
Sun Jun 28 04:28:01 CEST 2009


Author: anevilyak
Date: 2009-06-28 04:27:59 +0200 (Sun, 28 Jun 2009)
New Revision: 31286
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31286&view=rev

Modified:
   haiku/trunk/src/kits/tracker/Tracker.cpp
Log:
Fix assertion when using Tracker in debug mode. This closes ticket #1636.



Modified: haiku/trunk/src/kits/tracker/Tracker.cpp
===================================================================
--- haiku/trunk/src/kits/tracker/Tracker.cpp	2009-06-28 02:10:43 UTC (rev 31285)
+++ haiku/trunk/src/kits/tracker/Tracker.cpp	2009-06-28 02:27:59 UTC (rev 31286)
@@ -1349,7 +1349,7 @@
 		// create desktop
 		BEntry entry;
 		deskDir.GetEntry(&entry);
-		Model *model = new Model(&entry);
+		Model *model = new Model(&entry, true);
 		if (model->InitCheck() == B_OK) {
 			AutoLock<WindowList> lock(&fWindowList);
 			deskWindow = new BDeskWindow(&fWindowList);




More information about the Haiku-commits mailing list