Commit 193cf809 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use std::unique_ptr directly

parent 3a41f765
Pipeline #83285 passed with stage
in 25 minutes and 36 seconds
......@@ -11,7 +11,7 @@
#pragma once
#include <QGroupBox>
#include <memory>
class KJob;
namespace Ui
......@@ -47,6 +47,6 @@ private:
void selectFromAddressBookDone(KJob *);
private:
QScopedPointer<Ui::EncodedImagePicker> mUi;
std::unique_ptr<Ui::EncodedImagePicker> mUi;
};
} // namespace KMail
/* -*- c++ -*-
/*
xfaceconfigurator.cpp
KMail, the KDE mail client.
......@@ -64,7 +64,7 @@ private Q_SLOTS:
void pngquantFinished(int, QProcess::ExitStatus);
private:
QScopedPointer<Ui::XFaceConfigurator> mUi;
std::unique_ptr<Ui::XFaceConfigurator> mUi;
QProcess *const mPngquantProc;
};
} // namespace KMail
......
Supports Markdown
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