Fix Stack Free in CLI Stream

This commit is contained in:
Florian Märkl 2020-10-21 18:26:15 +02:00
commit a6e24ce325
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -169,11 +169,9 @@ int RunMain(QApplication &app, Settings *settings)
return app.exec();
}
int RunStream(QApplication &app, const StreamSessionConnectInfo &connect_info)
{
StreamWindow window(connect_info);
StreamWindow *window = new StreamWindow(connect_info);
app.setQuitOnLastWindowClosed(true);
return app.exec();
}