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:
@@ -1033,7 +1033,7 @@ bool GenericPanel::event(QEvent *event) {
|
||||
if (first_activation_) {
|
||||
if (event -> type() == QEvent::WindowActivate
|
||||
|| event -> type() == QEvent::Show) {
|
||||
QTimer::singleShot(250, this, SLOT(emitFirstActivated()));
|
||||
QTimer::singleShot(250, this, &GenericPanel::emitFirstActivated);
|
||||
first_activation_ = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user