mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
DisplayProperties: Remove all remaining naked "new" usage
This commit is contained in:
parent
f57cc5873c
commit
70412c7d4f
2 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ int main(int argc, char** argv)
|
|||
GApplication app(argc, argv);
|
||||
DisplayPropertiesWidget instance;
|
||||
|
||||
auto* window = new GWindow();
|
||||
auto window = GWindow::construct();
|
||||
window->set_title("Display Properties");
|
||||
window->resize(400, 448);
|
||||
window->set_resizable(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue