From 9030c447f1e0f0cc390c4a3eafff20d60867955b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 28 Feb 2020 08:18:04 +0000 Subject: fixed latest Qt support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9255 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/streambrowser/streamwindow.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/plugins/General/streambrowser/streamwindow.cpp') 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()); -- cgit v1.2.3-13-gbd6f