KShare/uploaders/default/clipboarduploader.cpp

10 lines
195 B
C++
Raw Normal View History

2017-04-23 15:05:48 +02:00
#include "clipboarduploader.hpp"
#include <QApplication>
#include <QClipboard>
void ClipboardUploader::doUpload(QPixmap *pixmap)
{
QApplication::clipboard()->setImage(pixmap->toImage());
}