diff options
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r-- | mobile-widgets/qmlprefs.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp index cf7b5ddbb..e415c0e5d 100644 --- a/mobile-widgets/qmlprefs.cpp +++ b/mobile-widgets/qmlprefs.cpp @@ -8,30 +8,13 @@ /*** Global and constructors ***/ -QMLPrefs *QMLPrefs::m_instance = NULL; - QMLPrefs::QMLPrefs() : m_credentialStatus(qPrefCloudStorage::CS_UNKNOWN), m_oldStatus(qPrefCloudStorage::CS_UNKNOWN), m_showPin(false) { - // This strange construct is needed because QMLEngine calls new and that - // cannot be overwritten - if (!m_instance) - m_instance = this; -} - -QMLPrefs::~QMLPrefs() -{ - m_instance = NULL; } -QMLPrefs *QMLPrefs::instance() -{ - return m_instance; -} - - /*** public functions ***/ const QString QMLPrefs::cloudPassword() const { |