summaryrefslogtreecommitdiff
authorsandman <sandman>2002-07-20 22:34:42 (UTC)
committer sandman <sandman>2002-07-20 22:34:42 (UTC)
commit594dfd3535846a536cebdb3381f4858239404c49 (patch) (side-by-side diff)
treed813fa27d282e03b732fb79985beabd3aa190064
parentd7e4bedb202300254511ad5949cb6176bcf4f37f (diff)
downloadopie-594dfd3535846a536cebdb3381f4858239404c49.zip
opie-594dfd3535846a536cebdb3381f4858239404c49.tar.gz
opie-594dfd3535846a536cebdb3381f4858239404c49.tar.bz2
Fix for a (obvious) bug that resulted in double pasting and/or hanging apps
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/clipboardapplet/clipboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/clipboardapplet/clipboard.cpp b/core/applets/clipboardapplet/clipboard.cpp
index 181f4bf..5848d0f 100644
--- a/core/applets/clipboardapplet/clipboard.cpp
+++ b/core/applets/clipboardapplet/clipboard.cpp
@@ -198,25 +198,25 @@ void ClipboardApplet::action(int id)
for ( uint i = 0; i < m_history. count ( ); i++ )
m_menu-> setItemChecked ( i, i == uint( id ));
unicode = 'V' - '@';
scan = Key_V;
}
break;
}
if ( scan ) {
qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false );
- qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, true, false );
+ qwsServer-> sendKeyEvent ( unicode, scan, ControlButton, false, false );
}
}
void ClipboardApplet::paintEvent ( QPaintEvent* )
{
QPainter p ( this );
p. drawPixmap ( 0, 1, m_clipboardPixmap );
}
void ClipboardApplet::newData ( )
{
QCString type = "plain";