KShare/uploaders/default/clipboarduploader.cpp
2017-04-23 15:05:48 +02:00

10 lines
195 B
C++

#include "clipboarduploader.hpp"
#include <QApplication>
#include <QClipboard>
void ClipboardUploader::doUpload(QPixmap *pixmap)
{
QApplication::clipboard()->setImage(pixmap->toImage());
}