Git commit 25bef6fed85c399cf1a4a7a8633121c5c332e049 by Michael Pyne. Committed on 30/09/2017 at 17:02. Pushed by mpyne into branch 'frameworks'. Remove deprecated use of KGlobalSettings. M +2 -1 nowplaying.cpp https://commits.kde.org/juk/25bef6fed85c399cf1a4a7a8633121c5c332e049 diff --git a/nowplaying.cpp b/nowplaying.cpp index 17dc96d..63f011a 100644 --- a/nowplaying.cpp +++ b/nowplaying.cpp @@ -39,6 +39,7 @@ #include #include #include +#include = #include "playlistcollection.h" #include "playlistitem.h" @@ -175,7 +176,7 @@ void CoverItem::mouseMoveEvent(QMouseEvent *e) return; = QPoint diff =3D m_dragStart - e->globalPos(); - if(diff.manhattanLength() > KGlobalSettings::dndEventDelay()) { + if(diff.manhattanLength() > QApplication::startDragDistance()) { = // Start a drag. =