-
Notifications
You must be signed in to change notification settings - Fork 5
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
Empty configs shouldn't break the panel #27
Labels
Comments
jmc-88
added a commit
that referenced
this issue
Jun 7, 2017
If this assumption fails, Bad Things™ will happen. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Sep 20, 2017
Currently unused. Fields will be migrated piecemeal. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Oct 1, 2017
Cleaner way to provide default values. Move initialization to the constructor and remove the need for a PanelConfig::Default() initializer. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Oct 1, 2017
Cleaner way to provide default values. Remove constructor, TooltipConfig::Default() initializer, and turn class into a struct. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Oct 1, 2017
Currently unused. Fields will be migrated piecemeal. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Oct 1, 2017
Cleaner way to provide default values. Move initialization to the constructor and remove the need for a PanelConfig::Default() initializer. Related issues: - #27
jmc-88
added a commit
that referenced
this issue
Oct 1, 2017
Cleaner way to provide default values. Remove constructor, TooltipConfig::Default() initializer, and turn class into a struct. Related issues: - #27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Default values for all configuration attributes should be provided, so that an empty configuration file doesn't result in a crash or in an unusable panel. Right now, if no panel_size is provided,
Launcher::GetIconSize()
will return 0 and causeLauncher::Resize()
to abort the program with SIGFPE.The text was updated successfully, but these errors were encountered: