From 994b23564f3f9918664787578721f90abff15cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 7 Oct 2009 19:32:21 +0000 Subject: [PATCH] Cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33487 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/InfoWindow.cpp | 35 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/kits/tracker/InfoWindow.cpp b/src/kits/tracker/InfoWindow.cpp index 32f2c33dd7..cdc87e9c7f 100644 --- a/src/kits/tracker/InfoWindow.cpp +++ b/src/kits/tracker/InfoWindow.cpp @@ -33,19 +33,11 @@ All rights reserved. */ -#include "Attributes.h" -#include "AutoLock.h" -#include "Commands.h" -#include "DialogPane.h" -#include "FSUtils.h" -#include "IconCache.h" -#include "IconMenuItem.h" #include "InfoWindow.h" -#include "Model.h" -#include "NavMenu.h" -#include "PoseView.h" -#include "Tracker.h" -#include "WidgetAttributeText.h" + +#include +#include +#include #include #include @@ -67,9 +59,18 @@ All rights reserved. #include #include -#include -#include -#include +#include "Attributes.h" +#include "AutoLock.h" +#include "Commands.h" +#include "DialogPane.h" +#include "FSUtils.h" +#include "IconCache.h" +#include "IconMenuItem.h" +#include "Model.h" +#include "NavMenu.h" +#include "PoseView.h" +#include "Tracker.h" +#include "WidgetAttributeText.h" namespace BPrivate { @@ -461,7 +462,7 @@ BInfoWindow::MessageReceived(BMessage *message) // Start recalculating.. fStopCalc = false; SetSizeStr("calculating" B_UTF8_ELLIPSIS); - fCalcThreadID = spawn_thread(BInfoWindow::CalcSize, "CalcSize", + fCalcThreadID = spawn_thread(BInfoWindow::CalcSize, "CalcSize", B_NORMAL_PRIORITY, this); resume_thread(fCalcThreadID); break; @@ -538,7 +539,7 @@ BInfoWindow::MessageReceived(BMessage *message) newNode << memoryNode; // Start watching this again - TTracker::WatchNode(TargetModel()->NodeRef(), + TTracker::WatchNode(TargetModel()->NodeRef(), B_WATCH_ALL | B_WATCH_MOUNT, this); // Tell the attribute view about this new model