aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-16 09:55:07 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-16 09:55:07 +0100
commit3443adecf100181c6e668f2e7a09bf2cfd794621 (patch)
tree787a1f65ce54baeebc4702c3b7c4baa1ddf732ba /src/qt/guiutil.cpp
parent0b4bd485ba33ab592b4aac759bcd3db6362a3b2f (diff)
parent6a86c24db146d9ca5d1d5c83099d935c3feb63bb (diff)
Merge pull request #3253
6a86c24 Coin Control Features (Cozz Lovan) 8dfd8c6 pass nBytes as parameter to GetMinFee(..) (Cozz Lovan)
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r--src/qt/guiutil.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp
index a45131846b..bbb3714dfe 100644
--- a/src/qt/guiutil.cpp
+++ b/src/qt/guiutil.cpp
@@ -633,4 +633,10 @@ void HelpMessageBox::showOrPrint()
#endif
}
+void setClipboard(const QString& str)
+{
+ QApplication::clipboard()->setText(str, QClipboard::Clipboard);
+ QApplication::clipboard()->setText(str, QClipboard::Selection);
+}
+
} // namespace GUIUtil