aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-03-29 01:45:59 -0700
committerWladimir J. van der Laan <[email protected]>2013-03-29 01:45:59 -0700
commit1be4bbadc74d9fa8f987f91df973733c6fef7a56 (patch)
tree9b72b0df3ceba0df2616cd0e7bf3ffb3409dc10e /src/qt/guiutil.cpp
parentMerge pull request #2393 from r000n/staging (diff)
parentAlso copy the address to the X11 clipboard (the one you middle-click to paste) (diff)
downloaddiscoin-1be4bbadc74d9fa8f987f91df973733c6fef7a56.tar.xz
discoin-1be4bbadc74d9fa8f987f91df973733c6fef7a56.zip
Merge pull request #2350 from DavidGriffith/master
Also copy the address to the X11 clipboard (the one you middle-click to paste)
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index 30ad8ef66..06ccde378 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -161,7 +161,7 @@ void copyEntryData(QAbstractItemView *view, int column, int role)
if(!selection.isEmpty())
{
// Copy first item
- QApplication::clipboard()->setText(selection.at(0).data(role).toString());
+ QApplication::clipboard()->setText(selection.at(0).data(role).toString(),QClipboard::Selection);
}
}