Get application version automatically

Set the application version while the class is initialized
This commit is contained in:
Alex Spataru 2015-01-25 17:30:22 -06:00
parent 23999faf4e
commit 9164a5fd92

View File

@ -102,6 +102,8 @@ QSimpleUpdater::QSimpleUpdater (QObject *parent)
connect (m_progressDialog, SIGNAL (cancelClicked()), this, SLOT (cancel()));
connect (this, SIGNAL (checkingFinished()), this, SLOT (onCheckingFinished()));
setApplicationVersion (qApp->applicationVersion());
}
/*!