Handle unused variable

This commit is contained in:
Ollo 2023-09-23 15:42:18 +02:00
parent 122b6e58b3
commit 860815313b
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ MainWindow::~MainWindow()
}
void MainWindow::drawImage(QImage *target) {
(void)target; /* handle unused variable ;-) */
this->mScene=new QGraphicsScene() ;
QGraphicsView *graphicsView = new QGraphicsView();
graphicsView->setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);