Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit a3e3a24a authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent b403955b
......@@ -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);
const int result = app.exec();
if (InfoDialog::hasError() || migrator->migrationState() == MigratorBase::Failed) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment