File r904675.diff of Package kdepim4

Subject: akregator: fix copy text from article view widget
From: wstephenson@suse.de
Bug: kde#168865
Patch-upstream: 904675
--- akregator/src/articleviewer.cpp	(revision 904674)
+++ akregator/src/articleviewer.cpp	(revision 904675)
@@ -292,7 +292,9 @@ void ArticleViewer::slotCopy()
 {
     QString text = m_part->selectedText();
     text.replace( QChar( 0xa0 ), ' ' );
-    QApplication::clipboard()->disconnect( this );
+    QClipboard* const cb = QApplication::clipboard();
+    assert( cb );
+    cb->setText( text, QClipboard::Clipboard );
 }
 
 void ArticleViewer::slotCopyLinkAddress()
Index: akregator/src/articleviewer.cpp
===================================================================
openSUSE Build Service is sponsored by