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
commit 825ce53fd3
Notes: sideshowbarker 2024-07-19 13:14:08 +09:00

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