summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/comm/keypebble/krfbcanvas.cpp4
-rw-r--r--noncore/comm/keypebble/krfbdecoder.cpp5
-rw-r--r--noncore/comm/keypebble/kvnc.cpp1
3 files changed, 5 insertions, 5 deletions
diff --git a/noncore/comm/keypebble/krfbcanvas.cpp b/noncore/comm/keypebble/krfbcanvas.cpp
index 049bbd4..bc71c90 100644
--- a/noncore/comm/keypebble/krfbcanvas.cpp
+++ b/noncore/comm/keypebble/krfbcanvas.cpp
@@ -145,4 +145,2 @@ void KRFBCanvas::contentsMousePressEvent( QMouseEvent *e )
- qDebug("Press");
- qDebug(QString::number(e->type()==QEvent::MouseButtonPress));
}
@@ -157,4 +155,2 @@ void KRFBCanvas::contentsMouseReleaseEvent( QMouseEvent *e )
nextDoubleClick=0;
- qDebug("Release");
- qDebug(QString::number(e->button()));
}
diff --git a/noncore/comm/keypebble/krfbdecoder.cpp b/noncore/comm/keypebble/krfbdecoder.cpp
index 94e3b79..33418ae 100644
--- a/noncore/comm/keypebble/krfbdecoder.cpp
+++ b/noncore/comm/keypebble/krfbdecoder.cpp
@@ -709,2 +709,3 @@ void KRFBDecoder::gotServerCutText()
+
//
@@ -723,2 +724,4 @@ void KRFBDecoder::gotServerCutText()
+ /* For some reason QApplication::clipboard()->setText() segfaults when called
+ * from within keypebble's mass of signals and slots
qWarning( "Server cut: %s", cutbuf );
@@ -727,5 +730,5 @@ void KRFBDecoder::gotServerCutText()
qApp->clipboard()->setText( cutText );
+ */
delete cutbuf;
-
// Now wait for the update (again)
diff --git a/noncore/comm/keypebble/kvnc.cpp b/noncore/comm/keypebble/kvnc.cpp
index 5b1dc9f..48a442c 100644
--- a/noncore/comm/keypebble/kvnc.cpp
+++ b/noncore/comm/keypebble/kvnc.cpp
@@ -161,2 +161,3 @@ void KVNC::openConnection( QListBoxItem * item)
{
+ if (item)
openConnection(item->text());