diff options
author | Andrew Productengine <adyukov@productengine.com> | 2010-12-23 18:15:54 +0200 |
---|---|---|
committer | Andrew Productengine <adyukov@productengine.com> | 2010-12-23 18:15:54 +0200 |
commit | c02d6a319f378d5dcc34c51b20f556f175d2a40a (patch) | |
tree | 5b6faeb8961c6d77f3d54b6dbc6c525773d9a0fa /indra/newview/llfloaterpreference.h | |
parent | 32750132db47eb335c56f6c880902cf7195e1825 (diff) |
STORM-34 ADDITIONAL_FIX Made saving favorites in file per-account preference instead of per-machine.
- Made changes in code of floater preferences and panel login that were required because of turning the setting per-account.
- Added new method to LLFloaterPreference that looks for current user's record in saved favorites file and removes it.
Diffstat (limited to 'indra/newview/llfloaterpreference.h')
-rw-r--r-- | indra/newview/llfloaterpreference.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.h b/indra/newview/llfloaterpreference.h index c95a2472a7..4522d9e6eb 100644 --- a/indra/newview/llfloaterpreference.h +++ b/indra/newview/llfloaterpreference.h @@ -152,6 +152,8 @@ public: void buildPopupLists(); static void refreshSkin(void* data); + // Remove record of current user's favorites from file on disk. + void removeFavoritesRecordOfUser(); private: static std::string sSkin; // set true if state of double-click action checkbox or radio-group was changed by user @@ -162,7 +164,8 @@ private: bool mLanguageChanged; bool mOriginalHideOnlineStatus; - bool mFavoritesFileMayExist; + // Record of current user's favorites may be stored in file on disk. + bool mFavoritesRecordMayExist; std::string mDirectoryVisibility; }; |