Remove kdelibs4support

wilder-portage
Montel Laurent 12 years ago
parent c19effafc5
commit c3cbac07ae
  1. 3
      src/Profile.cpp
  2. 2
      src/TerminalDisplay.cpp

@ -28,6 +28,7 @@
// KDE
#include <KGlobalSettings>
#include <KLocalizedString>
#include <QFontDatabase>
// 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);

@ -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

Loading…
Cancel
Save