aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/textscroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Ui/skinned/textscroller.cpp')
-rw-r--r--src/plugins/Ui/skinned/textscroller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Ui/skinned/textscroller.cpp b/src/plugins/Ui/skinned/textscroller.cpp
index 078455588..9167cc0fa 100644
--- a/src/plugins/Ui/skinned/textscroller.cpp
+++ b/src/plugins/Ui/skinned/textscroller.cpp
@@ -42,7 +42,7 @@ TextScroller::TextScroller (QWidget *parent) : QWidget (parent)
{
m_pressed = false;
m_press_pos = 0;
- m_metrics = 0;
+ m_metrics = nullptr;
m_defautText = QString("Qmmp ") + Qmmp::strVersion();
m_formater.setPattern(TITLE_FORMAT);
m_core = SoundCore::instance();
@@ -234,14 +234,14 @@ void TextScroller::processState(Qmmp::State state)
}
case Qmmp::Playing:
{
- disconnect(m_core, SIGNAL(bufferingProgress(int)), this, 0);
+ disconnect(m_core, SIGNAL(bufferingProgress(int)), this, nullptr);
m_bufferText.clear();
updateText();
break;
}
case Qmmp::Stopped:
{
- disconnect(m_core, SIGNAL(bufferingProgress(int)), this, 0);
+ disconnect(m_core, SIGNAL(bufferingProgress(int)), this, nullptr);
break;
}
default: