1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00

LibGUI: Convert GWindow to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 18:34:06 +02:00
parent 70412c7d4f
commit 7584480f62
25 changed files with 37 additions and 37 deletions

View file

@ -30,7 +30,7 @@ int main(int argc, char** argv)
AClientConnection audio_client;
audio_client.handshake();
auto* window = new GWindow;
auto window = GWindow::construct();
window->set_title("SoundPlayer");
window->set_rect(300, 300, 300, 200);