Commit 25bef6fe authored by Michael Pyne's avatar Michael Pyne

Remove deprecated use of KGlobalSettings.

parent 2adf0155
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <QList> #include <QList>
#include <QTextDocument> #include <QTextDocument>
#include <QFontMetrics> #include <QFontMetrics>
#include <QApplication>
#include "playlistcollection.h" #include "playlistcollection.h"
#include "playlistitem.h" #include "playlistitem.h"
...@@ -175,7 +176,7 @@ void CoverItem::mouseMoveEvent(QMouseEvent *e) ...@@ -175,7 +176,7 @@ void CoverItem::mouseMoveEvent(QMouseEvent *e)
return; return;
QPoint diff = m_dragStart - e->globalPos(); QPoint diff = m_dragStart - e->globalPos();
if(diff.manhattanLength() > KGlobalSettings::dndEventDelay()) { if(diff.manhattanLength() > QApplication::startDragDistance()) {
// Start a drag. // Start a drag.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment