replace deprecated auto_ptr with unique_ptr

This commit is contained in:
wmayer
2016-09-22 13:01:20 +02:00
parent 1ce73dda96
commit f944ab3846
47 changed files with 129 additions and 129 deletions

View File

@@ -216,7 +216,7 @@ bool
SceneEventFilter::eventFilter(QObject * obj, QEvent * qevent)
{
// Convert the scene event back to a standard event
std::auto_ptr<QEvent> sceneev;
std::unique_ptr<QEvent> sceneev;
switch (qevent->type()) {
//GraphicsSceneContextMenu = 159,
//GraphicsSceneHoverEnter = 160,