Tracker: get rid of fTrashContextMenu member from DeskWindow...
... as it's useless and shadowing the one in ContainerWindow. No functional change intended, and none occurs (from my testing). PVS message V703.
This commit is contained in:
@@ -194,7 +194,6 @@ BDeskWindow::BDeskWindow(LockingList<BWindow>* windowList)
|
|||||||
| B_NOT_RESIZABLE | B_ASYNCHRONOUS_CONTROLS, B_ALL_WORKSPACES,
|
| B_NOT_RESIZABLE | B_ASYNCHRONOUS_CONTROLS, B_ALL_WORKSPACES,
|
||||||
false, true),
|
false, true),
|
||||||
fDeskShelf(NULL),
|
fDeskShelf(NULL),
|
||||||
fTrashContextMenu(NULL),
|
|
||||||
fNodeRef(NULL),
|
fNodeRef(NULL),
|
||||||
fShortcutsSettings(NULL)
|
fShortcutsSettings(NULL)
|
||||||
{
|
{
|
||||||
@@ -395,9 +394,6 @@ BDeskWindow::Quit()
|
|||||||
fAddonsList->MakeEmpty(true);
|
fAddonsList->MakeEmpty(true);
|
||||||
delete fAddonsList;
|
delete fAddonsList;
|
||||||
|
|
||||||
delete fTrashContextMenu;
|
|
||||||
fTrashContextMenu = NULL;
|
|
||||||
|
|
||||||
delete fDeskShelf;
|
delete fDeskShelf;
|
||||||
_inherited::Quit();
|
_inherited::Quit();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ private:
|
|||||||
|
|
||||||
BShelf* fDeskShelf;
|
BShelf* fDeskShelf;
|
||||||
// shelf for replicant support
|
// shelf for replicant support
|
||||||
BPopUpMenu* fTrashContextMenu;
|
|
||||||
|
|
||||||
BRect fOldFrame;
|
BRect fOldFrame;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user