Commit 7d5fa851 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer

parent b21b407a
Pipeline #94981 canceled with stage
......@@ -18,7 +18,6 @@ ArchiveStorage::~ArchiveStorage()
{
closeArchive();
delete mArchive;
mArchive = nullptr;
}
void ArchiveStorage::closeArchive()
......
......@@ -26,6 +26,6 @@ Q_SIGNALS:
void error(const QString &);
private:
KZip *mArchive = nullptr;
KZip *const mArchive;
};
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