aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/streambrowser')
-rw-r--r--src/plugins/General/streambrowser/editstreamdialog.h2
-rw-r--r--src/plugins/General/streambrowser/streambrowser.h2
-rw-r--r--src/plugins/General/streambrowser/streambrowserfactory.cpp2
-rw-r--r--src/plugins/General/streambrowser/streamwindow.cpp6
-rw-r--r--src/plugins/General/streambrowser/streamwindow.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/General/streambrowser/editstreamdialog.h b/src/plugins/General/streambrowser/editstreamdialog.h
index a0e24ce3a..4f6ddc500 100644
--- a/src/plugins/General/streambrowser/editstreamdialog.h
+++ b/src/plugins/General/streambrowser/editstreamdialog.h
@@ -33,7 +33,7 @@ class EditStreamDialog : public QDialog
Q_OBJECT
public:
- explicit EditStreamDialog(QWidget *parent = 0);
+ explicit EditStreamDialog(QWidget *parent = nullptr);
~EditStreamDialog();
enum Key
diff --git a/src/plugins/General/streambrowser/streambrowser.h b/src/plugins/General/streambrowser/streambrowser.h
index 0f23644d8..7ea50e575 100644
--- a/src/plugins/General/streambrowser/streambrowser.h
+++ b/src/plugins/General/streambrowser/streambrowser.h
@@ -35,7 +35,7 @@ class StreamBrowser : public QObject
{
Q_OBJECT
public:
- StreamBrowser(QObject *parent = 0);
+ StreamBrowser(QObject *parent = nullptr);
~StreamBrowser();
diff --git a/src/plugins/General/streambrowser/streambrowserfactory.cpp b/src/plugins/General/streambrowser/streambrowserfactory.cpp
index 655a7adfb..4b2fc70c3 100644
--- a/src/plugins/General/streambrowser/streambrowserfactory.cpp
+++ b/src/plugins/General/streambrowser/streambrowserfactory.cpp
@@ -42,7 +42,7 @@ QObject *StreamBrowserFactory::create(QObject *parent)
QDialog *StreamBrowserFactory::createConfigDialog(QWidget *parent)
{
Q_UNUSED(parent);
- return 0;
+ return nullptr;
}
void StreamBrowserFactory::showAbout(QWidget *parent)
diff --git a/src/plugins/General/streambrowser/streamwindow.cpp b/src/plugins/General/streambrowser/streamwindow.cpp
index 6bf73f6d4..e5dadd958 100644
--- a/src/plugins/General/streambrowser/streamwindow.cpp
+++ b/src/plugins/General/streambrowser/streamwindow.cpp
@@ -47,7 +47,7 @@ StreamWindow::StreamWindow(QWidget *parent)
setWindowFlags(Qt::Window);
setAttribute(Qt::WA_DeleteOnClose);
setAttribute(Qt::WA_QuitOnClose, false);
- m_requestReply = 0;
+ m_requestReply = nullptr;
//buttons
m_ui->addPushButton->setIcon(QIcon::fromTheme("list-add"));
m_ui->updatePushButton->setIcon(QIcon::fromTheme("view-refresh"));
@@ -153,13 +153,13 @@ void StreamWindow::showText(QNetworkReply *reply)
{
m_ui->statusLabel->setText(tr("Error"));
QMessageBox::warning (this, tr("Error"), reply->errorString());
- m_requestReply = 0;
+ m_requestReply = nullptr;
reply->deleteLater();
return;
}
if(m_requestReply == reply)
{
- m_requestReply = 0;
+ m_requestReply = nullptr;
readXml(reply, m_iceCastModel);
}
reply->deleteLater();
diff --git a/src/plugins/General/streambrowser/streamwindow.h b/src/plugins/General/streambrowser/streamwindow.h
index c36c54b69..58512c9c1 100644
--- a/src/plugins/General/streambrowser/streamwindow.h
+++ b/src/plugins/General/streambrowser/streamwindow.h
@@ -42,7 +42,7 @@ class StreamWindow : public QWidget
{
Q_OBJECT
public:
- StreamWindow(QWidget *parent = 0);
+ StreamWindow(QWidget *parent = nullptr);
~StreamWindow();