show current host in title bar
[presencevnc] / src / remoteview.cpp
index 0580a58..8bbcd67 100644 (file)
@@ -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"