diff --git a/src/platform/qt/DisplayQt.cpp b/src/platform/qt/DisplayQt.cpp index 8d5c2ffe9..20d919c44 100644 --- a/src/platform/qt/DisplayQt.cpp +++ b/src/platform/qt/DisplayQt.cpp @@ -25,8 +25,8 @@ void DisplayQt::startDrawing(std::shared_ptr controller) { QSize size = controller->screenDimensions(); m_width = size.width(); m_height = size.height(); - m_backing = std::move(QImage()); - m_oldBacking = std::move(QImage()); + m_backing = QImage(); + m_oldBacking = QImage(); m_isDrawing = true; m_context = controller; emit drawingStarted(); diff --git a/src/platform/qt/ObjView.cpp b/src/platform/qt/ObjView.cpp index 39e38892a..ee1751e9e 100644 --- a/src/platform/qt/ObjView.cpp +++ b/src/platform/qt/ObjView.cpp @@ -271,7 +271,7 @@ void ObjView::updateObjList(int maxObj) { QListWidgetItem* item = m_objs[i]; ObjInfo info; lookupObj(i, &info); - item->setIcon(QPixmap::fromImage(std::move(compositeObj(info)))); + item->setIcon(QPixmap::fromImage(compositeObj(info))); } }