diff --git a/src/Profile.cpp b/src/Profile.cpp index ec0155d6..fca04963 100644 --- a/src/Profile.cpp +++ b/src/Profile.cpp @@ -28,6 +28,7 @@ // KDE #include #include +#include // Konsole #include "Enumeration.h" @@ -163,7 +164,7 @@ FallbackProfile::FallbackProfile() setProperty(KeyBindings, "default"); setProperty(ColorScheme, "Linux"); //use DarkPastels when is start support blue ncurses UI properly - setProperty(Font, KGlobalSettings::fixedFont()); + setProperty(Font, QFontDatabase::systemFont(QFontDatabase::FixedFont)); setProperty(HistoryMode, Enum::FixedSizeHistory); setProperty(HistorySize, 1000); diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index fd0f6b05..26228716 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -2006,7 +2006,7 @@ void TerminalDisplay::mouseMoveEvent(QMouseEvent* ev) // we had a mouse down, but haven't confirmed a drag yet // if the mouse has moved sufficiently, we will confirm - const int distance = KGlobalSettings::dndEventDelay(); + const int distance = QApplication::startDragDistance(); if (ev->x() > _dragInfo.start.x() + distance || ev->x() < _dragInfo.start.x() - distance || ev->y() > _dragInfo.start.y() + distance || ev->y() < _dragInfo.start.y() - distance) { // we've left the drag square, we can start a real drag operation now