mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-13 10:04:13 +02:00
Migrating more SLOT() macros.
This commit is contained in:
@@ -863,7 +863,7 @@ void TitleBlockTemplateView::fillWithEmptyCells()
|
||||
*/
|
||||
bool TitleBlockTemplateView::event(QEvent *event) {
|
||||
if (first_activation_ && event -> type() == QEvent::WindowActivate) {
|
||||
QTimer::singleShot(250, this, SLOT(zoomFit()));
|
||||
QTimer::singleShot(250, this, &TitleBlockTemplateView::zoomFit);
|
||||
first_activation_ = false;
|
||||
}
|
||||
return(QGraphicsView::event(event));
|
||||
|
||||
Reference in New Issue
Block a user