cmath include
This commit is contained in:
parent
313fa1904c
commit
735de44114
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#include "connectionpixmapitem.h"
|
#include "connectionpixmapitem.h"
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
void ConnectionPixmapItem::render(qreal opacity) {
|
void ConnectionPixmapItem::render(qreal opacity) {
|
||||||
QPixmap newPixmap = this->basePixmap.copy(0, 0, this->basePixmap.width(), this->basePixmap.height());
|
QPixmap newPixmap = this->basePixmap.copy(0, 0, this->basePixmap.width(), this->basePixmap.height());
|
||||||
if (opacity < 1) {
|
if (opacity < 1) {
|
||||||
|
|
Loading…
Reference in a new issue