X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcoreconfigwizard.cpp;h=e8305123865ae1f17569f7c37df85a700adde3d5;hp=669d670c32bab17fff0d3f7e01965ee156bdd858;hb=6eefdfc697067d184a589fc8a231b16316c09106;hpb=42ab7cc22c4702716db2b8bfa1d4545169f772e6 diff --git a/src/qtui/coreconfigwizard.cpp b/src/qtui/coreconfigwizard.cpp index 669d670c..e8305123 100644 --- a/src/qtui/coreconfigwizard.cpp +++ b/src/qtui/coreconfigwizard.cpp @@ -29,6 +29,7 @@ #include "client.h" #include "coreconnection.h" #include "icon.h" +#include "util.h" namespace { @@ -165,7 +166,7 @@ CoreConfigWizard::CoreConfigWizard(CoreConnection *connection, const QVariantLis connect(connection, &CoreConnection::coreSetupSuccess, this, &CoreConfigWizard::coreSetupSuccess); connect(connection, &CoreConnection::coreSetupFailed, this, &CoreConfigWizard::coreSetupFailed); connect(connection, &CoreConnection::synchronized, this, &CoreConfigWizard::syncFinished); - connect(this, SIGNAL(rejected()), connection, SLOT(disconnectFromCore())); + connect(this, &QDialog::rejected, connection, selectOverload<>(&CoreConnection::disconnectFromCore)); // Resize all pages to the size hint of the largest one, so the wizard is large enough