-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI improvements #308
base: DF2016
Are you sure you want to change the base?
UI improvements #308
Conversation
…an be changed for all dwarves with the 'Nothing' filter option selected
that's not how memory allocation in C or C++ works. like, at all. it's a VLA, use mingw or another GCC. regardless, there's a huge memory leak. |
Oh wow, you're damn right, I feel like an idiot overlooking this important detail. This introduces a HUGE memory leak! I'll have to look at my compiler, I thought I was using GCC, though I could be wrong. |
for the record, if you really want it to work with MSVC (although I don't really know why you would), the correct way to fix this would be to allocate a single buffer when the class is initialized; this way you avoid calling |
Yeah, don't worry about that, I know how to properly manage C++ memory. I must've just had some sort of brain fart I guess. :/ |
Ok well, I guess I screwed up the organization on this. The last few commits were supposed to be in a different pull request... |
So currently, the style-sheet is not loaded automatically, since the only style-sheet there is is DarkTheme and I don't want to change the default look of DT. Instead, under the |
Thanks. |
I realized that when you load a file into the resources through |
First time I do a pull request, am I doing it right...? What would an appropriate title be?