We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf90c33 commit d416dcaCopy full SHA for d416dca
src/lib/app/RvCommon/RvApplication.cpp
@@ -1454,18 +1454,7 @@ RvApplication::pasteTextFromClipboard()
1454
{
1455
QString text;
1456
QClipboard *clipboard = QApplication::clipboard();
1457
-
1458
- #if defined(PLATFORM_DARWIN)
1459
- text = clipboard->text(QClipboard::Clipboard);
1460
- #elif defined(PLATFORM_WINDOWS)
1461
1462
- #else
1463
- text = clipboard->text(QClipboard::Selection);
1464
- if (text.isEmpty()) {
1465
1466
- }
1467
- #endif
1468
+ text = clipboard->text(QClipboard::Clipboard);
1469
return text.toUtf8().constData();
1470
}
1471
0 commit comments