X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fremoteview.cpp;h=8bbcd6706a94d1bdce439e729cddbf1097bd46b6;hb=e77478e32accf689ced308d6c23954f0b528c500;hp=0580a58fea36f1f7e74434e2dc71cf6d9d5e54f7;hpb=632fee1dbf90da2ee297424ad46b0a2628f67c04;p=presencevnc diff --git a/src/remoteview.cpp b/src/remoteview.cpp index 0580a58..8bbcd67 100644 --- a/src/remoteview.cpp +++ b/src/remoteview.cpp @@ -244,15 +244,8 @@ void RemoteView::saveWalletPassword(const QString &password, bool fromUserNameOn QCursor RemoteView::localDotCursor() const { -#ifdef QTONLY - return QCursor(); //TODO -#else - QBitmap cursorBitmap(KGlobal::dirs()->findResource("appdata", - "pics/pointcursor.png")); - QBitmap cursorMask(KGlobal::dirs()->findResource("appdata", - "pics/pointcursormask.png")); - return QCursor(cursorBitmap, cursorMask); -#endif + //we take care of this in paintEvent() + return QCursor(Qt::BlankCursor); } void RemoteView::focusInEvent(QFocusEvent *event) @@ -274,5 +267,3 @@ void RemoteView::focusOutEvent(QFocusEvent *event) QWidget::focusOutEvent(event); } - -#include "moc_remoteview.cpp"