[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenox/konq-embed/dropin
From: Eva Brucherseifer <eva () kde ! org>
Date: 2006-05-22 17:28:54
Message-ID: 1148318934.493348.23351.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 543744 by eva:
apply the large startDragDistance for all systems without DND
(QT_NO_DRAGANDDROP).
M +1 -2 kapplication.cpp
M +6 -1 kglobalsettings.h
--- trunk/kdenox/konq-embed/dropin/kapplication.cpp #543743:543744
@@ -167,9 +167,8 @@
}
int KApplication::startDragDistance()
-#if (QT_VERSION < 0x030000)
+#ifdef QT_NO_DRAGANDDROP
{ return 1000000; }
-//{ return QApplication::startDragDistance(); }
#else
{ return QApplication::startDragDistance(); }
#endif
--- trunk/kdenox/konq-embed/dropin/kglobalsettings.h #543743:543744
@@ -35,7 +35,12 @@
static QFont menuFont() { return generalFont(); }
static QFont windowTitleFont() { return generalFont(); }
- static int dndEventDelay() { return 5; } // ###
+ static int dndEventDelay()
+#ifdef QT_NO_DRAGANDDROP
+ { return 50; } // ###
+#else
+ { return 5; } // ###
+#endif
static int contrast() { return 7; } // ###
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic