Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33372 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -151,8 +151,8 @@ TBarApp::~TBarApp()
|
||||
|
||||
int32 subsCount = sSubscribers.CountItems();
|
||||
for (int32 i = 0; i < subsCount; i++) {
|
||||
BMessenger* messenger =
|
||||
static_cast<BMessenger*>(sSubscribers.ItemAt(i));
|
||||
BMessenger* messenger
|
||||
= static_cast<BMessenger*>(sSubscribers.ItemAt(i));
|
||||
delete messenger;
|
||||
}
|
||||
SaveSettings();
|
||||
|
||||
@@ -540,8 +540,8 @@ TExpandoMenuBar::AddTeam(BList* team, BBitmap* icon, char* name,
|
||||
if (settings->trackerAlwaysFirst && !strcmp(signature, kTrackerSignature)) {
|
||||
AddItem(item, fFirstApp);
|
||||
} else if (settings->sortRunningApps) {
|
||||
TTeamMenuItem* teamItem =
|
||||
dynamic_cast<TTeamMenuItem*>(ItemAt(fFirstApp));
|
||||
TTeamMenuItem* teamItem
|
||||
= dynamic_cast<TTeamMenuItem*>(ItemAt(fFirstApp));
|
||||
int32 firstApp = fFirstApp;
|
||||
|
||||
// if Tracker should always be the first item, we need to skip it
|
||||
|
||||
Reference in New Issue
Block a user