From 825ce53fd39a0ff166f8d7804ad6b92906699c0e Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Tue, 16 Jul 2019 20:44:15 +0200 Subject: [PATCH] Piano: Create the connection after the event loop Otherwise it will crash when registering the CNotifier. --- Applications/Piano/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");