| 402 | } |
| 403 | |
| 404 | void DiffTextWindow::slotCopy() |
| 405 | { |
| 406 | if(!hasFocus()) |
| 407 | return; |
| 408 | |
| 409 | const QString curSelection = getSelection(); |
| 410 | |
| 411 | if(!curSelection.isEmpty()) |
| 412 | { |
| 413 | QApplication::clipboard()->setText(curSelection, QClipboard::Clipboard); |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | void DiffTextWindow::fwdFinishRecalcWordWrap(qint32 visibleTextWidthForPrinting) |
| 418 | { |