summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/UpdateDialog.cpp
blob: 5f181a1c1cf20e138c19c803905626f8b7f00697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "UpdateDialog.h"

UpdateDialog::UpdateDialog()
: m_autoClose(false)
{
}

void UpdateDialog::setAutoClose(bool autoClose)
{
	m_autoClose = autoClose;
}

bool UpdateDialog::autoClose() const
{
	return m_autoClose;
}

void UpdateDialog::updateFinished()
{
	if (m_autoClose)
	{
		quit();
	}
}