make use of Q_DISABLE_COPY() macro in QStandardPaths

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-12-14 22:18:27 +00:00
parent 8b48335910
commit f2806e5133

View file

@ -76,10 +76,8 @@ class Q_CORE_EXPORT QStandardPaths
static void setTestModeEnabled(bool testMode);
static bool isTestModeEnabled();
private:
// prevent construction
QStandardPaths();
~QStandardPaths();
private:
Q_DISABLE_COPY(QStandardPaths)
};
#endif // QT_NO_STANDARDPATHS