X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fircconnectionwizard.cpp;h=1210b5c985f6c6e8daf71d37a8037517ea67a1ba;hp=756caf8bf69f196c260cda134f07c5490d4d6781;hb=e2188dc438be6f3eb0d9cdf47d28821aefe9835e;hpb=158443f71d48215eea8b47b836b61afd77654b78
diff --git a/src/qtui/ircconnectionwizard.cpp b/src/qtui/ircconnectionwizard.cpp
index 756caf8b..1210b5c9 100644
--- a/src/qtui/ircconnectionwizard.cpp
+++ b/src/qtui/ircconnectionwizard.cpp
@@ -50,14 +50,14 @@ IrcConnectionWizard::IrcConnectionWizard(QWidget *parent, Qt::WindowFlags flags)
QWizardPage *IrcConnectionWizard::createIntroductionPage(QWidget *parent)
{
- QWizardPage *page = new QWizardPage(parent);
+ auto *page = new QWizardPage(parent);
page->setTitle(QObject::tr("Welcome to Quassel IRC"));
QLabel *label = new QLabel(QObject::tr("This wizard will help you to set up your default identity and your IRC network connection.
"
"This only covers basic settings. You can cancel this wizard any time and use the settings dialog for more detailed changes."), page);
label->setWordWrap(true);
- QVBoxLayout *layout = new QVBoxLayout;
+ auto *layout = new QVBoxLayout;
layout->addWidget(label);
page->setLayout(layout);
return page;
@@ -81,7 +81,7 @@ void IrcConnectionWizard::finishClicked()
void IrcConnectionWizard::identityReady(IdentityId id)
{
disconnect(Client::instance(), SIGNAL(identityCreated(IdentityId)), this, SLOT(identityReady(IdentityId)));
- NetworkPage *networkPage = static_cast(_networkPage);
+ auto *networkPage = static_cast(_networkPage);
NetworkInfo networkInfo = networkPage->networkInfo();
QStringList channels = networkPage->channelList();
networkInfo.identity = id;
@@ -122,7 +122,7 @@ IdentityPage::IdentityPage(QWidget *parent)
_identityEditWidget->displayIdentity(_identity);
_identityEditWidget->showAdvanced(false);
- QVBoxLayout *layout = new QVBoxLayout;
+ auto *layout = new QVBoxLayout;
layout->addWidget(_identityEditWidget);
setLayout(layout);
}
@@ -154,7 +154,7 @@ NetworkPage::NetworkPage(QWidget *parent)
setTitle(tr("Setup Network Connection"));
- QVBoxLayout *layout = new QVBoxLayout;
+ auto *layout = new QVBoxLayout;
layout->addWidget(_networkEditor);
setLayout(layout);
}