aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser/streamwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/streambrowser/streamwindow.cpp')
-rw-r--r--src/plugins/General/streambrowser/streamwindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/General/streambrowser/streamwindow.cpp b/src/plugins/General/streambrowser/streamwindow.cpp
index 54090ab63..814196132 100644
--- a/src/plugins/General/streambrowser/streamwindow.cpp
+++ b/src/plugins/General/streambrowser/streamwindow.cpp
@@ -153,11 +153,7 @@ 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());