Make StreamWindow create the Session

This commit is contained in:
Florian Märkl 2019-08-03 14:01:55 +02:00
commit 8e15f498c2
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
6 changed files with 71 additions and 42 deletions

View file

@ -20,15 +20,16 @@
#include <QMainWindow>
#include "streamsession.h"
class QLabel;
class StreamSession;
class StreamWindow: public QMainWindow
{
Q_OBJECT
public:
explicit StreamWindow(StreamSession *session, QWidget *parent = nullptr);
explicit StreamWindow(const StreamSessionConnectInfo &connect_info, QWidget *parent = nullptr);
~StreamWindow();
private: