forked from qt-creator/qt-creator
		
	Utils: Modernize connections
Change-Id: I4650abc84e7c82a4054197319f6c849af9e5b8ce Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
		@@ -112,7 +112,7 @@ private slots:
 | 
			
		||||
        QPropertyAnimation *anim = new QPropertyAnimation(m_effect, "opacity", this);
 | 
			
		||||
        anim->setDuration(200);
 | 
			
		||||
        anim->setEndValue(0.);
 | 
			
		||||
        connect(anim, SIGNAL(finished()), this, SLOT(deleteLater()));
 | 
			
		||||
        connect(anim, &QAbstractAnimation::finished, this, &QObject::deleteLater);
 | 
			
		||||
        anim->start(QAbstractAnimation::DeleteWhenStopped);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user