[aKregator-devel] [Bug 102956] Copying link adress in tab is not working properly
Brought to you by:
lippel
From: Heinrich W. <h_w...@co...> - 2005-06-24 15:55:07
|
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=102956 h_wendel cojobo net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From h_wendel cojobo net 2005-06-24 17:54 ------- SVN commit 428564 by lanius: BUG: 102956 fix copy link address to use QClipboard::Selection as well M +2 -2 tabwidget.cpp --- trunk/KDE/kdepim/akregator/src/tabwidget.cpp #428563:428564 @ -219,8 +219,8 @ KURL url; if (KHTMLView *view = dynamic_cast<KHTMLView*>(currentItem)) url = view->part()->url(); else return; - QClipboard *cb = QApplication::clipboard(); - if(cb) cb->setText(url.prettyURL()); + kapp->clipboard()->setText(url.prettyURL(), QClipboard::Selection); + kapp->clipboard()->setText(url.prettyURL(), QClipboard::Clipboard); } void TabWidget::slotCloseTab() |