Gui: move to new style connect()
This commit is contained in:
@@ -76,7 +76,7 @@ PropertyView::PropertyView(QWidget *parent)
|
||||
|
||||
timer = new QTimer(this);
|
||||
timer->setSingleShot(true);
|
||||
connect(timer, SIGNAL(timeout()), this, SLOT(onTimer()));
|
||||
connect(timer, &QTimer::timeout, this, &PropertyView::onTimer);
|
||||
|
||||
tabs = new QTabWidget (this);
|
||||
tabs->setObjectName(QString::fromUtf8("propertyTab"));
|
||||
@@ -99,7 +99,7 @@ PropertyView::PropertyView(QWidget *parent)
|
||||
tabs->setCurrentIndex(preferredTab);
|
||||
|
||||
// connect after adding all tabs, so adding doesn't thrash the parameter
|
||||
connect(tabs, SIGNAL(currentChanged(int)), this, SLOT(tabChanged(int)));
|
||||
connect(tabs, &QTabWidget::currentChanged, this, &PropertyView::tabChanged);
|
||||
|
||||
this->connectPropData =
|
||||
App::GetApplication().signalChangedObject.connect(boost::bind
|
||||
|
||||
Reference in New Issue
Block a user