Commit 896bfb6b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer/variable

parent 6e5cdff7
......@@ -58,7 +58,7 @@ public:
}
private:
AbstractImageOperation* mOp;
AbstractImageOperation* const mOp;
};
struct AbstractImageOperationPrivate
......
......@@ -39,7 +39,7 @@ namespace ArchiveUtils
bool fileItemIsArchive(const KFileItem& item)
{
QMimeType mimeType = item.determineMimeType();
const QMimeType mimeType = item.determineMimeType();
if (!mimeType.isValid()) {
qCWarning(GWENVIEW_LIB_LOG) << "determineMimeType() returned a null pointer";
return false;
......
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