1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

Piano: Create the connection after the event loop

Otherwise it will crash when registering the CNotifier.
This commit is contained in:
Robin Burchell 2019-07-16 20:44:15 +02:00 committed by Andreas Kling
parent d8387f1506
commit 825ce53fd3

View file

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