6aa9bd0f77
Now with some actual consensus on what the updater will do!
26 lines
299 B
C++
26 lines
299 B
C++
#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();
|
|
}
|
|
}
|
|
|