summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-12 23:02:21 +0100
committerMontel Laurent <[email protected]>2017-12-12 23:02:21 +0100
commita3e3a24ac898906985e8a18f2d601cde7fab4f5d (patch)
treeaa60de7dfa614cc631b2eb9e6a8740de789cfcd2
parentb403955b30d8c579af4181a9ac377cce6d655635 (diff)
Port to new connect api
-rw-r--r--migration/gid/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/gid/main.cpp b/migration/gid/main.cpp
index 28af557..7009eeb 100644
--- a/migration/gid/main.cpp
+++ b/migration/gid/main.cpp
@@ -83,7 +83,7 @@ int main(int argc, char **argv)
QObject::connect(migrator, &QObject::destroyed, infoDialog, &InfoDialog::migratorDone);
QObject::connect(migrator, QOverload<int>::of(&MigratorBase::progress), infoDialog, QOverload<int>::of(&InfoDialog::progress));
}
- QObject::connect(migrator, SIGNAL(stoppedProcessing()), &app, SLOT(quit()));
+ QObject::connect(migrator, &GidMigrator::stoppedProcessing, &app, &QApplication::quit);
migrator->start();
const int result = app.exec();
if (InfoDialog::hasError() || migrator->migrationState() == MigratorBase::Failed) {