summaryrefslogtreecommitdiff
path: root/Applications/Piano/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 18:34:06 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 18:34:06 +0200
commit7584480f628c878e107bf66770e988bedb8cd6c5 (patch)
tree29e922c758183698ccf7f7653f6a1174ac53a95b /Applications/Piano/main.cpp
parent70412c7d4f5f6f55bfb0cf9409463b19f27c632a (diff)
downloadserenity-7584480f628c878e107bf66770e988bedb8cd6c5.zip
LibGUI: Convert GWindow to ObjectPtr
Diffstat (limited to 'Applications/Piano/main.cpp')
-rw-r--r--Applications/Piano/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/main.cpp b/Applications/Piano/main.cpp
index 21d896f0d6..22699a1ada 100644
--- a/Applications/Piano/main.cpp
+++ b/Applications/Piano/main.cpp
@@ -17,7 +17,7 @@ int main(int argc, char** argv)
AClientConnection audio_connection;
audio_connection.handshake();
- auto* window = new GWindow;
+ auto window = GWindow::construct();
window->set_title("Piano");
window->set_rect(100, 100, 512, 512);