37ce6f1eda
I didn't read the clang-format documentation properly
11 lines
285 B
C++
11 lines
285 B
C++
#include "clipboarduploader.hpp"
|
|
|
|
#include <QApplication>
|
|
#include <QClipboard>
|
|
#include <notifications.hpp>
|
|
|
|
void ClipboardUploader::doUpload(QPixmap *pixmap) {
|
|
QApplication::clipboard()->setImage(pixmap->toImage());
|
|
notifications::notify("KShare", "Copied to clipboard!");
|
|
}
|