Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:dirkmueller:Factory
scidavis
scidavis-grabFrameBuffer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scidavis-grabFrameBuffer.patch of Package scidavis
Index: scidavis-2.9.0/libscidavis/src/Graph3D.cpp =================================================================== --- scidavis-2.9.0.orig/libscidavis/src/Graph3D.cpp +++ scidavis-2.9.0/libscidavis/src/Graph3D.cpp @@ -1945,7 +1945,7 @@ void Graph3D::print() void Graph3D::copyImage() { - QApplication::clipboard()->setPixmap(QPixmap::fromImage(sp->grabFramebuffer()), + QApplication::clipboard()->setPixmap(QPixmap::fromImage(sp->grabFrameBuffer()), QClipboard::Clipboard); sp->updateData(); } @@ -1953,7 +1953,7 @@ void Graph3D::copyImage() void Graph3D::exportImage(const QString &fileName, int quality, bool transparent) { if (transparent) { - QPixmap pic = QPixmap::fromImage(sp->grabFramebuffer()); + QPixmap pic = QPixmap::fromImage(sp->grabFrameBuffer()); sp->updateData(); QBitmap mask(pic.size()); @@ -1976,7 +1976,7 @@ void Graph3D::exportImage(const QString pic.setMask(mask); pic.save(fileName, 0, quality); } else { - QImage im = sp->grabFramebuffer(); + QImage im = sp->grabFrameBuffer(); QImageWriter iw(fileName); iw.setQuality(quality); iw.write(im);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor