Make copy constructor and assignment operator of singleton classes private.

This commit is contained in:
Felix Geyer 2012-05-26 16:45:59 +02:00
parent f43ad8d062
commit c6253fc025
4 changed files with 8 additions and 0 deletions

View file

@ -34,6 +34,8 @@ private:
QScopedPointer<QSettings> m_settings;
Q_DISABLE_COPY(Config)
friend Config* config();
};