[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/mobile/lib
From: Stephen Kelly <steveire () gmail ! com>
Date: 2010-09-01 9:36:39
Message-ID: 20100901093639.F0B41AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1170516 by skelly:
Set the start drag distance to something larger than it is on the desktop.
This will hopefully make it easier for QML to distinguish a click from
the start of a drag.
M +3 -1 kdeclarativefullscreenview.cpp
--- trunk/KDE/kdepim/mobile/lib/kdeclarativefullscreenview.cpp #1170515:1170516
@@ -31,9 +31,9 @@
#include <KActionCollection>
#include <KCmdLineArgs>
-#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QTimer>
+#include <QtGui/QApplication>
#include <QtGui/QLabel>
#include <QtDBus/QDBusConnection>
#include <QtDBus/QDBusMessage>
@@ -73,6 +73,8 @@
resize(800, 480);
#endif
+ qApp->setStartDragDistance(40);
+
m_splashScreen = new QLabel( this );
QPixmap splashBackground;
splashBackground.load( KStandardDirs::locate( "data", QLatin1String( "mobileui" ) \
+ QDir::separator() + QLatin1String( "splashscreenstatic.png" ) ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic