Commit ed0b26c9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

"auto *" => "auto" when it's possible

parent 798cef93
Pipeline #49627 failed with stage
in 12 minutes and 58 seconds
......@@ -96,7 +96,7 @@ CertificateLineEdit::CertificateLineEdit(AbstractKeyListModel *model,
mCompleterFilterModel->setKeyFilter(mFilter);
mCompleterFilterModel->setSourceModel(model);
auto *completer = new QCompleter(this);
auto completer = new QCompleter(this);
completer->setModel(mCompleterFilterModel);
completer->setCompletionColumn(KeyList::Summary);
completer->setFilterMode(Qt::MatchContains);
......
......@@ -39,8 +39,8 @@ public:
mAlgorithmCombo(nullptr),
mBackupCheckBox(nullptr)
{
auto *vBox = new QVBoxLayout(q);
auto *grid = new QGridLayout;
auto vBox = new QVBoxLayout(q);
auto grid = new QGridLayout;
int row = 0;
......
......@@ -42,7 +42,7 @@ PIVCardApplicationAdministrationKeyInputDialog::Private::Private(PIVCardApplicat
mHexEncodedAdminKeyEdit(new QLineEdit(qq)),
mOkButton(nullptr)
{
auto *vBox = new QVBoxLayout(q);
auto vBox = new QVBoxLayout(q);
{
mLabel->setWordWrap(true);
......
......@@ -628,11 +628,11 @@ void KleopatraApplication::checksumFiles(const QStringList &files, GpgME::Protoc
}
if (!verifyFiles.isEmpty()) {
auto *const cmd = new ChecksumVerifyFilesCommand(verifyFiles, nullptr);
auto const cmd = new ChecksumVerifyFilesCommand(verifyFiles, nullptr);
cmd->start();
}
if (!createFiles.isEmpty()) {
auto *const cmd = new ChecksumCreateFilesCommand(createFiles, nullptr);
auto const cmd = new ChecksumCreateFilesCommand(createFiles, nullptr);
cmd->start();
}
}
......
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