mirror of
https://github.com/monero-project/monero-gui
synced 2025-02-27 17:13:02 +01:00

https://trello.com/c/VpuuPT5L/27-per-transaction-descriptions-should-be-removed-from-dashboard-history-as-discussed https://trello.com/c/wy3nFH3g/30-please-add-ctrl-tab-ctrl-shift-tab-shortcut-keys-to-rotate-between-tabs https://trello.com/c/6Y6kOXsU/44-add-monero-title-to-the-main-window
13 lines
327 B
C++
13 lines
327 B
C++
#include "clipboardAdapter.h"
|
|
|
|
clipboardAdapter::clipboardAdapter(QObject *parent) :
|
|
QObject(parent)
|
|
{
|
|
m_pClipboard = QGuiApplication::clipboard();
|
|
}
|
|
|
|
void clipboardAdapter::setText(const QString &text) {
|
|
m_pClipboard->setText(text, QClipboard::Clipboard);
|
|
m_pClipboard->setText(text, QClipboard::Selection);
|
|
}
|