[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: QUANTA_3_1_BRANCH: quanta
From: Andras Mantia <amantia () freemail ! hu>
Date: 2003-06-18 7:58:36
[Download RAW message or body]
CVS commit by amantia:
Enable copying from documentation/preview even if the user uses separate clipboard \
and selection. (backport)
M +2 -0 ChangeLog 1.90.2.77
M +3 -0 quanta/quantaview_slots.cpp 1.66.2.7
--- quanta/ChangeLog #1.90.2.76:1.90.2.77
@@ -11,4 +11,6 @@
- insert valid doctype line when using the Quick Start button
- don't crash when trying to edit tags without proper .tag file (like <b>)
+ - enable copying from documentation/preview even if the user uses separate \
clipboard + and selection
- usability enhancements:
--- quanta/quanta/quantaview_slots.cpp #1.66.2.6:1.66.2.7
@@ -682,4 +682,7 @@ void QuantaView::slotCopy ()
{
dynamic_cast<KTextEditor::ClipboardInterface*>(write()->view())->copy();
+ QClipboard *cb = QApplication::clipboard();
+ QString text = cb->text(QClipboard::Selection);
+ cb->setText(text, QClipboard::Clipboard);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic