Skip to content

Commit

Permalink
Replaced deprecated method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
warricksothr committed Jul 9, 2020
1 parent dabd09d commit ce9cf52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ void MainWindow::rcloneGetVersion() {
};
#endif

QStringList lines = version.split("\n", QString::SkipEmptyParts);
QStringList lines = version.split("\n", Qt::SkipEmptyParts);
QString rclone_info2;
QString rclone_info3;

Expand Down Expand Up @@ -1214,7 +1214,7 @@ void MainWindow::addStream(const QString &remote, const QString &stream) {
ui.jobs->insertWidget(1, line);
ui.tabs->setTabText(1, QString("Jobs (%1)").arg(++mJobCount));

player->start(stream, QProcess::ReadOnly);
player->start(stream, QStringList(), QProcess::ReadOnly);
UseRclonePassword(rclone);
rclone->start(GetRclone(),
QStringList() << "cat" << GetRcloneConf() << remote,
Expand Down

0 comments on commit ce9cf52

Please sign in to comment.