kdecore: disable copying of KCompressor and KDecompressor objects

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-17 19:44:09 +03:00
parent 742f216a27
commit 9f1e69182e
2 changed files with 2 additions and 0 deletions

View file

@ -72,6 +72,7 @@ public:
static KCompressorType typeForFile(const QString &filepath);
private:
Q_DISABLE_COPY(KCompressor);
KCompressorPrivate* d;
};

View file

@ -69,6 +69,7 @@ public:
static KDecompressorType typeForFile(const QString &filepath);
private:
Q_DISABLE_COPY(KDecompressor);
KDecompressorPrivate* d;
};