From a6e24ce325ff55296b24ab0a307093859c5ca786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Wed, 21 Oct 2020 18:26:15 +0200 Subject: [PATCH] Fix Stack Free in CLI Stream --- gui/src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gui/src/main.cpp b/gui/src/main.cpp index fc011d5..f612b3d 100644 --- a/gui/src/main.cpp +++ b/gui/src/main.cpp @@ -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(); }