summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.cpp
blob: 49a7887084a086f1f58542c1ba1eb302734f6136 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
#include "qmlprefs.h"

QMLPrefs *QMLPrefs::m_instance = NULL;


QMLPrefs::QMLPrefs()
{
	if (!m_instance)
		m_instance = this;
}

QMLPrefs::~QMLPrefs()
{
	m_instance = NULL;
}

QMLPrefs *QMLPrefs::instance()
{
	return m_instance;
}