GUI: Use nullptr instead of 0 or NULL where appropriate
This commit is contained in:
parent
c566d02992
commit
6e1abf064a
45 changed files with 402 additions and 404 deletions
|
@ -40,7 +40,7 @@ enum {
|
|||
// also it will get its own theme config values
|
||||
// and not use 'browser_' anymore
|
||||
ThemeBrowser::ThemeBrowser() : Dialog("Browser") {
|
||||
_fileList = 0;
|
||||
_fileList = nullptr;
|
||||
|
||||
new StaticTextWidget(this, "Browser.Headline", _("Select a Theme"));
|
||||
|
||||
|
@ -52,8 +52,8 @@ ThemeBrowser::ThemeBrowser() : Dialog("Browser") {
|
|||
_backgroundType = GUI::ThemeEngine::kDialogBackgroundPlain;
|
||||
|
||||
// Buttons
|
||||
new ButtonWidget(this, "Browser.Cancel", _("Cancel"), 0, kCloseCmd);
|
||||
new ButtonWidget(this, "Browser.Choose", _("Choose"), 0, kChooseCmd);
|
||||
new ButtonWidget(this, "Browser.Cancel", _("Cancel"), nullptr, kCloseCmd);
|
||||
new ButtonWidget(this, "Browser.Choose", _("Choose"), nullptr, kChooseCmd);
|
||||
}
|
||||
|
||||
void ThemeBrowser::open() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue