Minor change to be able to compile with Qt < 5.4

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4541 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-06-05 19:55:41 +00:00
parent 0261c5fa5e
commit e6c2ed8d5f
2 changed files with 5 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ bool ElementsCollectionWidget::event(QEvent *event)
{
if (m_first_show && event->type() == QEvent::WindowActivate) {
m_first_show = false;
QTimer::singleShot(250, this, &ElementsCollectionWidget::reload);
QTimer::singleShot(250, this, SLOT(reload()));
}
return QWidget::event(event);