1
Fork 0
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:
Andreas Kling 2019-09-21 18:18:47 +02:00
parent f57cc5873c
commit 70412c7d4f
2 changed files with 5 additions and 5 deletions

View file

@ -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);