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

Use std::unique_ptr

parent 07c2dbb7
......@@ -9,7 +9,7 @@
#include <QDialog>
#include <QList>
#include <memory>
class QProgressDialog;
class QDBusInterface;
......@@ -36,7 +36,7 @@ private:
void waitForIndexer();
void updateAllSelection(bool select);
QScopedPointer<Ui_IncompleteIndexDialog> mUi;
std::unique_ptr<Ui_IncompleteIndexDialog> mUi;
QProgressDialog *mProgressDialog = nullptr;
QDBusInterface *mIndexer = nullptr;
QList<qlonglong> mIndexingQueue;
......
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