mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:27:43 +00:00
Piano: Create the connection after the event loop
Otherwise it will crash when registering the CNotifier.
This commit is contained in:
parent
d8387f1506
commit
825ce53fd3
1 changed files with 1 additions and 1 deletions
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
AClientConnection audio_connection;
|
|
||||||
GApplication app(argc, argv);
|
GApplication app(argc, argv);
|
||||||
|
AClientConnection audio_connection;
|
||||||
|
|
||||||
auto* window = new GWindow;
|
auto* window = new GWindow;
|
||||||
window->set_title("Piano");
|
window->set_title("Piano");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue