diff options
Diffstat (limited to 'src/widget/wtrackproperty.cpp')
-rw-r--r-- | src/widget/wtrackproperty.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/widget/wtrackproperty.cpp b/src/widget/wtrackproperty.cpp index 50124f9f52..f6eb74029e 100644 --- a/src/widget/wtrackproperty.cpp +++ b/src/widget/wtrackproperty.cpp @@ -15,8 +15,7 @@ WTrackProperty::WTrackProperty(const char* group, setAcceptDrops(true); } -WTrackProperty::~WTrackProperty() { -} +WTrackProperty::~WTrackProperty() = default; void WTrackProperty::setup(QDomNode node, const SkinContext& context) { WLabel::setup(node, context); @@ -37,13 +36,13 @@ void WTrackProperty::slotLoadingTrack(TrackPointer pNewTrack, TrackPointer pOldT Q_UNUSED(pNewTrack); Q_UNUSED(pOldTrack); if (m_pCurrentTrack) { - disconnect(m_pCurrentTrack.data(), 0, this, 0); + disconnect(m_pCurrentTrack.data(), nullptr, this, nullptr); } m_pCurrentTrack.clear(); setText(""); } -void WTrackProperty::updateLabel(TrackInfoObject*) { +void WTrackProperty::updateLabel(TrackInfoObject* /*unused*/) { if (m_pCurrentTrack) { QVariant property = m_pCurrentTrack->property(m_property.toAscii().constData()); if (property.isValid() && qVariantCanConvert<QString>(property)) { |