[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [juk/frameworks] /: Remove deprecated use of KGlobalSettings.
From: Michael Pyne <null () kde ! org>
Date: 2017-09-30 21:33:47
Message-ID: E1dyPON-0007iK-G9 () code ! kde ! org
[Download RAW message or body]
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 <QList>
#include <QTextDocument>
#include <QFontMetrics>
+#include <QApplication>
#include "playlistcollection.h"
#include "playlistitem.h"
@@ -175,7 +176,7 @@ void CoverItem::mouseMoveEvent(QMouseEvent *e)
return;
QPoint diff = m_dragStart - e->globalPos();
- if(diff.manhattanLength() > KGlobalSettings::dndEventDelay()) {
+ if(diff.manhattanLength() > QApplication::startDragDistance()) {
// Start a drag.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic