summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2019-07-16 20:44:15 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-16 20:47:32 +0200
commit825ce53fd39a0ff166f8d7804ad6b92906699c0e (patch)
tree046fcd7c295158f5041250da26fdb85c74396302 /Applications
parentd8387f1506c90091d615ee7ba3ebb7bb0381a155 (diff)
downloadserenity-825ce53fd39a0ff166f8d7804ad6b92906699c0e.zip
Piano: Create the connection after the event loop
Otherwise it will crash when registering the CNotifier.
Diffstat (limited to 'Applications')
-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 029cfbb2b4..73a5f78a58 100644
--- a/Applications/Piano/main.cpp
+++ b/Applications/Piano/main.cpp
@@ -9,8 +9,8 @@
int main(int argc, char** argv)
{
- AClientConnection audio_connection;
GApplication app(argc, argv);
+ AClientConnection audio_connection;
auto* window = new GWindow;
window->set_title("Piano");