Fix ancient dumb code breaking shiny modern features

Now if you have your date or time format set via debug settings,
they'll only be overwritten if you use the preferences UI for them

Be warned that the cancel button will not restore your custom formats
debug settings are nice to use, but you are an edge case power user

This commit cleans up a buncha duplicated code and makes it look nice and neat
Thanks to Router for making sure I wasn't crazy~
This commit is contained in:
Lirusaito
2019-07-25 10:35:50 -04:00
parent bca94dc4be
commit ec8d2646cd
2 changed files with 89 additions and 117 deletions

View File

@@ -67,10 +67,10 @@ private:
bool mEnableMUPose;
bool mEnableOOCAutoClose;
U32 mLinksForChattingObjects;
U32 mTimeFormat;
U32 mDateFormat;
U32 tempTimeFormat;
U32 tempDateFormat;
S8 mTimeFormat;
S8 mDateFormat;
S8 tempTimeFormat;
S8 tempDateFormat;
bool mSecondsInChatAndIMs;
bool mSecondsInLog;