diff options
Diffstat (limited to 'src/plugins/General/streambrowser/streamwindow.cpp')
| -rw-r--r-- | src/plugins/General/streambrowser/streamwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/General/streambrowser/streamwindow.cpp b/src/plugins/General/streambrowser/streamwindow.cpp index 814196132..54090ab63 100644 --- a/src/plugins/General/streambrowser/streamwindow.cpp +++ b/src/plugins/General/streambrowser/streamwindow.cpp @@ -153,7 +153,11 @@ StreamWindow::~StreamWindow() void StreamWindow::showText(QNetworkReply *reply) { m_ui->statusLabel->setText(tr("Done")); +#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) + if (reply->networkError() != QNetworkReply::NoError) +#else if (reply->error() != QNetworkReply::NoError) +#endif { m_ui->statusLabel->setText(tr("Error")); QMessageBox::warning (this, tr("Error"), reply->errorString()); |
