Get application version automatically
Set the application version while the class is initialized
This commit is contained in:
parent
23999faf4e
commit
9164a5fd92
@ -102,6 +102,8 @@ QSimpleUpdater::QSimpleUpdater (QObject *parent)
|
|||||||
|
|
||||||
connect (m_progressDialog, SIGNAL (cancelClicked()), this, SLOT (cancel()));
|
connect (m_progressDialog, SIGNAL (cancelClicked()), this, SLOT (cancel()));
|
||||||
connect (this, SIGNAL (checkingFinished()), this, SLOT (onCheckingFinished()));
|
connect (this, SIGNAL (checkingFinished()), this, SLOT (onCheckingFinished()));
|
||||||
|
|
||||||
|
setApplicationVersion (qApp->applicationVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user