diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-16 17:52:37 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-16 17:52:37 +0100 |
commit | 79fac3f427da4ac3376b5c3a8a638ad579da8594 (patch) | |
tree | a12917a3c18aa43b7456c5b0ac99cf0e1ff7681d /src/qt/guiutil.cpp | |
parent | 3443adecf100181c6e668f2e7a09bf2cfd794621 (diff) |
[Qt] use GUIUtil::setClipboard() where possible
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index bbb3714dfe..2ce09b479e 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -221,10 +221,8 @@ void copyEntryData(QAbstractItemView *view, int column, int role) if(!selection.isEmpty()) { - // Copy first item (global clipboard) - QApplication::clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Clipboard); - // Copy first item (global mouse selection for e.g. X11 - NOP on Windows) - QApplication::clipboard()->setText(selection.at(0).data(role).toString(), QClipboard::Selection); + // Copy first item + setClipboard(selection.at(0).data(role).toString()); } } |