GuidanceOfGrace / CLASSIC-Fallout4

Crash Log Auto-Scanner & Setup Integrity Checker for Fallout 4 / Buffout 4. Tool that extensively scans Fallout 4 game & mod files and Buffout 4 crash logs, then provides troubleshooting advice depending on what it finds.
8 stars 4 forks source link

Various readability and deduplication changes. #51

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

Biggest one is that almost all widget construction is now done by custom functions. Also, all of said widgets now use only 2 QFont objects (one bold, one not).

evildarkarchon commented 1 year ago

Forgot to mention in the bo4ng crash_error commit that I also added an assert statement: len(crash_error) > 0 (\n doesn't count towards len for strings, apparently)

evildarkarchon commented 1 year ago

I think I found the logic error that's causing #52, should be fixed with the latest commit.