[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.1/kdepim/akregator/src
From:       Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date:       2009-01-02 19:23:18
Message-ID: 1230924198.679085.19757.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 904675 by osterfeld:

Fix copy text in article viewer
Patch by Michael Leupold <lemma@confuego.org.
CCMAIL:lemma@confuego.org
BUG: 168865


 M  +3 -1      articleviewer.cpp  


--- branches/KDE/4.1/kdepim/akregator/src/articleviewer.cpp #904674:904675
@@ -292,7 +292,9 @@
 {
     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()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic