mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Add missing UpdateDialog.cpp file
MD-19678 #time 5m
This commit is contained in:
parent
cbda873a70
commit
84288ddc6c
1 changed files with 25 additions and 0 deletions
25
src/UpdateDialog.cpp
Normal file
25
src/UpdateDialog.cpp
Normal file
|
@ -0,0 +1,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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue