| 666 | #endif |
| 667 | |
| 668 | void setClipboard(const QString& str) |
| 669 | { |
| 670 | QClipboard* clipboard = QApplication::clipboard(); |
| 671 | clipboard->setText(str, QClipboard::Clipboard); |
| 672 | if (clipboard->supportsSelection()) { |
| 673 | clipboard->setText(str, QClipboard::Selection); |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | fs::path QStringToPath(const QString &path) |
| 678 | { |
no test coverage detected