mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
fix deprecated warning QDrag::start
Use QDrag::exec instead.
This commit is contained in:
committed by
Laurent Trinques
parent
0897ed43fe
commit
9b570525d3
@@ -105,7 +105,7 @@ void ElementsPanel::startTitleBlockTemplateDrag(const TitleBlockTemplateLocation
|
||||
QDrag *drag = new QDrag(this);
|
||||
drag -> setMimeData(mime_data);
|
||||
drag -> setPixmap(QET::Icons::TitleBlock.pixmap(22, 16));
|
||||
drag -> start(Qt::CopyAction);
|
||||
drag -> exec(Qt::CopyAction);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user