diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-02-20 21:50:33 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-02-20 21:50:33 +0000 |
| commit | 94d94622cb6067a073833b1e4afe306878a1e584 (patch) | |
| tree | 75bf0054435ea459eff42a40bdff3007295c44de /src/plugins/General/streambrowser | |
| parent | de257043fd559afee78e954ac43d746c3bc4dd94 (diff) | |
| download | qmmp-94d94622cb6067a073833b1e4afe306878a1e584.tar.gz qmmp-94d94622cb6067a073833b1e4afe306878a1e584.tar.bz2 qmmp-94d94622cb6067a073833b1e4afe306878a1e584.zip | |
fixed Qt 5.15 warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9238 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/streambrowser')
| -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()); |
