Handle unused variable
This commit is contained in:
parent
122b6e58b3
commit
860815313b
@ -22,6 +22,7 @@ MainWindow::~MainWindow()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::drawImage(QImage *target) {
|
void MainWindow::drawImage(QImage *target) {
|
||||||
|
(void)target; /* handle unused variable ;-) */
|
||||||
this->mScene=new QGraphicsScene() ;
|
this->mScene=new QGraphicsScene() ;
|
||||||
QGraphicsView *graphicsView = new QGraphicsView();
|
QGraphicsView *graphicsView = new QGraphicsView();
|
||||||
graphicsView->setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
|
graphicsView->setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
|
||||||
|
Loading…
Reference in New Issue
Block a user