Fix and improve Streamlink code

Move streamlink code to its own file

Fixes #275

Untested on linux, but should work decently there as well.
This commit is contained in:
Rasmus Karlsson
2018-03-24 14:13:04 +01:00
parent 6c56e9cc82
commit 41fbcc738b
6 changed files with 237 additions and 98 deletions
+3 -4
View File
@@ -17,8 +17,8 @@ namespace widgets {
class QualityPopup : public BaseWindow
{
public:
QualityPopup(const QString &channel, const QString &path, QStringList options);
static void showDialog(const QString &channel, const QString &path, QStringList options);
QualityPopup(const QString &_channelName, QStringList options);
static void showDialog(const QString &_channelName, QStringList options);
private:
struct {
@@ -29,8 +29,7 @@ private:
QPushButton cancelButton;
} ui;
QString channel;
QString path;
QString channelName;
void okButtonClicked();
void cancelButtonClicked();