From 1463a012636e0c45e5788ad69bfd9fc6fabc6e96 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Tue, 22 Jul 2014 21:54:58 -0400 Subject: [PATCH] Tracker: Initialize pointers, CID 610135-610136 --- src/kits/tracker/TrackerSettings.cpp | 48 +++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/src/kits/tracker/TrackerSettings.cpp b/src/kits/tracker/TrackerSettings.cpp index c6cac3762b..e956df7d73 100644 --- a/src/kits/tracker/TrackerSettings.cpp +++ b/src/kits/tracker/TrackerSettings.cpp @@ -123,6 +123,28 @@ int32 ColorToValue(rgb_color color) TTrackerState::TTrackerState() : Settings("TrackerSettings", "Tracker"), + fShowDisksIcon(NULL), + fMountVolumesOntoDesktop(NULL), + fDesktopFilePanelRoot(NULL), + fMountSharedVolumesOntoDesktop(NULL), + fEjectWhenUnmounting(NULL), + fShowFullPathInTitleBar(NULL), + fSingleWindowBrowse(NULL), + fShowNavigator(NULL), + fShowSelectionWhenInactive(NULL), + fTransparentSelection(NULL), + fSortFolderNamesFirst(NULL), + fHideDotFiles(NULL), + fTypeAheadFiltering(NULL), + fRecentApplicationsCount(NULL), + fRecentDocumentsCount(NULL), + fRecentFoldersCount(NULL), + fShowVolumeSpaceBar(NULL), + fUsedSpaceColor(NULL), + fFreeSpaceColor(NULL), + fWarningSpaceColor(NULL), + fDontMoveFilesToTrash(NULL), + fAskBeforeDeleteFile(NULL), fInited(false), fSettingsLoaded(false) { @@ -131,7 +153,31 @@ TTrackerState::TTrackerState() TTrackerState::TTrackerState(const TTrackerState&) : - Settings("", "") + Settings("", ""), + fShowDisksIcon(NULL), + fMountVolumesOntoDesktop(NULL), + fDesktopFilePanelRoot(NULL), + fMountSharedVolumesOntoDesktop(NULL), + fEjectWhenUnmounting(NULL), + fShowFullPathInTitleBar(NULL), + fSingleWindowBrowse(NULL), + fShowNavigator(NULL), + fShowSelectionWhenInactive(NULL), + fTransparentSelection(NULL), + fSortFolderNamesFirst(NULL), + fHideDotFiles(NULL), + fTypeAheadFiltering(NULL), + fRecentApplicationsCount(NULL), + fRecentDocumentsCount(NULL), + fRecentFoldersCount(NULL), + fShowVolumeSpaceBar(NULL), + fUsedSpaceColor(NULL), + fFreeSpaceColor(NULL), + fWarningSpaceColor(NULL), + fDontMoveFilesToTrash(NULL), + fAskBeforeDeleteFile(NULL), + fInited(false), + fSettingsLoaded(false) { // Placeholder copy constructor to prevent others from accidentally using // the default copy constructor. Note, the DEBUGGER call is for the off